Refactor test argument order in CLI security tests

Reordered arguments in the test_filter_with_other_options method for better readability and consistency. This change improves clarity in the test setup.
This commit is contained in:
xixu-me committed 2025-05-31 01:01:24 +08:00
1 parent e81ac01161
commit 4e155d0e05
1 file changed
+3 -5
+3 -5
View File
@@ -58,20 +58,18 @@ class TestCLISecurityFilters:
def test_filter_with_other_options(self):
"""Test filter option combined with other options."""
parser = create_parser()
# Test with streaming and output directory
parser = create_parser() # Test with streaming and output directory
args = parser.parse_args(
[
"x",
"test.tzst",
"file1.txt",
"file2.txt",
"--filter",
"tar",
"--streaming",
"-o",
"output_dir",
"file1.txt",
"file2.txt",
]
)
assert args.filter == "tar"