We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d35be01 commit c0a67a6Copy full SHA for c0a67a6
1 file changed
tests/test_cli.py
@@ -119,7 +119,7 @@ def test_main_without_source_dir(mock_create_parser):
119
"""Test the main function without source directory."""
120
# Mock parser and its methods
121
mock_parser = MagicMock()
122
- mock_parser.parse_args.return_value = MagicMock(source_dir=None)
+ mock_parser.parse_args.return_value = MagicMock(source_dir=None, help=False)
123
mock_create_parser.return_value = mock_parser
124
125
# Call main without source_dir
0 commit comments