From 5516a288b6a4af511e99807d5e791090bd444035 Mon Sep 17 00:00:00 2001 From: Villon CHEN Date: Mon, 17 Nov 2025 13:56:50 +0100 Subject: [PATCH] fix(tests): add missing `--test` flag when downloading --- tests/test_cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 3512d72..335e307 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -36,7 +36,9 @@ def test_download() -> None | AssertionError: """Test the download of missing resources.""" downloadable = get_downloadable() logging.info("Downloading all missing resources.") - result = runner.invoke(cli, ["download", "all"], input="y\n" * len(downloadable)) + result = runner.invoke( + cli, ["download", "all", "--test"], input="y\n" * len(downloadable) + ) assert result.exit_code == 0 for name, instance in downloadable.items():