def test_parse_command_line_missing_args(input_args): with pytest.raises(SystemExit): parse_command_line(input_args)
def test_parse_command_line_run_local(input_args, expected_value): output_under_test = parse_command_line(input_args) assert output_under_test.run_local == expected_value assert output_under_test.force_et == expected_value