diff --git a/tests/input/test_input_gg_checks.py b/tests/input/test_input_gg_checks.py index 6633fb8a..5ce4c3df 100644 --- a/tests/input/test_input_gg_checks.py +++ b/tests/input/test_input_gg_checks.py @@ -17,29 +17,6 @@ def test_parse_config_gg_check_in_file_context_contains_file(): assert "file.py" in output[0].gg_args -def test_parse_config_check_gg_matchfilefragment(): - """Test to make sure the description, check name, and options appear in the GatorGrader arguments.""" - # Given a configuration file with a GatorGrader check - config = Path("tests/input/yml_test_files/gatorgrade_matchfilefragment.yml") - # When parse_config is run - output = parse_config(config) - # Then the description, check name, and options appear in the GatorGrader arguments - assert output[0].gg_args == [ - "--description", - "Complete all TODOs", - "MatchFileFragment", - "--fragment", - "TODO", - "--count", - "0", - "--exact", - "--directory", - "path/to", - "--file", - "file.py", - ] - - def test_parse_config_gg_check_no_file_context_contains_no_file(): """Test to make sure checks without a file context do not have a file path in GatorGrader arguments.""" # Given a configuration file with a GatorGrader check without a file context @@ -76,13 +53,13 @@ def test_parse_config_yml_file_runs_setup_shell_checks(): # When parse_config run output = parse_config(config) # Then the output should contain the GatorGrader check - assert output[0].gg_args == [ + assert set(output[0].gg_args) == { "--description", "Have 8 commits", "CountCommits", "--count", "8", - ] + } def test_parse_config_shell_check_contains_command():