From d8691512a97320adeac56e697f5e46da398e26ce Mon Sep 17 00:00:00 2001 From: Aidan Dyga Date: Thu, 21 Nov 2024 19:12:20 -0500 Subject: [PATCH] fix: updating tests to work with new feature --- tests/input/test_input_gg_checks.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/input/test_input_gg_checks.py b/tests/input/test_input_gg_checks.py index 5ce4c3df..e84b27f2 100644 --- a/tests/input/test_input_gg_checks.py +++ b/tests/input/test_input_gg_checks.py @@ -20,19 +20,17 @@ def test_parse_config_gg_check_in_file_context_contains_file(): 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 - config = Path( - "tests/input/yml_test_files/gatorgrade_one_gg_check_no_file_context.yml" - ) + config = Path("tests/input/yml_test_files/gatorgrade_one_gg_check_no_file_context.yml") # When parse_config is run output = parse_config(config) # Then the GatorGrader arguments do not contain a file path - assert output[0].gg_args == [ + assert set(output[0].gg_args) == { "--description", "Have 8 commits", "CountCommits", "--count", "8", - ] + } def test_parse_config_parses_both_shell_and_gg_checks():