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.
This commit is contained in:
parent
fe1978f98f
commit
122dd1c288
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue