coverage at 100

This commit is contained in:
2023-06-07 01:43:01 +05:30
parent f82631e3bb
commit 2d761dd86b
4 changed files with 67 additions and 0 deletions

View File

@@ -297,6 +297,7 @@ def test_parse_arguments_disallows_paths_unless_action_consumes_it():
with pytest.raises(SystemExit):
module.parse_arguments('--config', 'myconfig', '--path', 'test')
def test_parse_arguments_disallows_other_actions_with_config_bootstrap():
flexmock(module.collect).should_receive('get_default_config_paths').and_return(['default'])