Fix test_restore_ssl_directory with HA CLI in interactive PTY (#3239)

The test was missing --no-progress flag, which only manifested after
merging #3238 - causing the CLI to run in an interactive pseudotty.

(cherry picked from commit 122dd1c288)
This commit is contained in:
Jan Čermák 2024-03-12 14:55:10 +01:00 committed by Jan Čermák
parent 3dfd3a4c21
commit 32f1ca8fa8
No known key found for this signature in database
GPG Key ID: A78C897AA3AF012B
1 changed files with 1 additions and 1 deletions

View File

@ -187,6 +187,6 @@ def test_restore_backup(shell_json, stash):
@pytest.mark.dependency(depends=["test_create_backup"])
def test_restore_ssl_directory(shell_json, stash):
result = shell_json(f"ha backups restore {stash.get('slug')} --folders ssl --raw-json")
result = shell_json(f"ha backups restore {stash.get('slug')} --folders ssl --no-progress --raw-json")
assert result.get("result") == "ok", f"Backup restore failed: {result}"
logger.info("Backup restore result: %s", result)