Skip to content

Commit c0a67a6

Browse files
committed
fix interim test for new flag
1 parent d35be01 commit c0a67a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def test_main_without_source_dir(mock_create_parser):
119119
"""Test the main function without source directory."""
120120
# Mock parser and its methods
121121
mock_parser = MagicMock()
122-
mock_parser.parse_args.return_value = MagicMock(source_dir=None)
122+
mock_parser.parse_args.return_value = MagicMock(source_dir=None, help=False)
123123
mock_create_parser.return_value = mock_parser
124124

125125
# Call main without source_dir

0 commit comments

Comments
 (0)