From 32f1ca8fa8efe7d3308e59dfef9df3266d6902c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Tue, 12 Mar 2024 14:55:10 +0100 Subject: [PATCH] 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 122dd1c28875a599965c41678721635ef5028caa) --- tests/supervisor_test/test_supervisor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/supervisor_test/test_supervisor.py b/tests/supervisor_test/test_supervisor.py index 612f359706e..c7621ea4fb1 100644 --- a/tests/supervisor_test/test_supervisor.py +++ b/tests/supervisor_test/test_supervisor.py @@ -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)