Skip to content

Commit bbcbe35

Browse files
committed
Improve code coverage
1 parent 266f7f2 commit bbcbe35

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_cli/test_script.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ def trim_header(line_string):
228228
id="custom_model_generator_without_class_link"),
229229
pytest.param(f"""{executable} -m Model items "{test_data_path / 'photos.json'}" --code-generator test""",
230230
id="class_link_without_custom_model_generator_enabled"),
231+
pytest.param(f"""{executable} -m Model items "{test_data_path / 'photos.json'}" another_arg --code-generator test""",
232+
id="4_args_model"),
233+
pytest.param(f"""{executable} -m Model total "{test_data_path / 'photos.json'}" --code-generator test""",
234+
id="non_dict_or_list_data"),
231235
]
232236

233237

0 commit comments

Comments
 (0)