diff --git a/tests/test_decorators.py b/tests/test_decorators.py index 255bc59955d67bf261d57d4a604cb17ae1979013..2e7e315111415c74b87c617ea1dc32b1316ef708 100644 --- a/tests/test_decorators.py +++ b/tests/test_decorators.py @@ -45,7 +45,8 @@ def test_subcommand_parser_decorator_registers_function(): registered_functions = gimmecert.decorators.get_subcommand_parser_setup_functions() - assert registered_functions == [myfunction1, myfunction2] + assert myfunction1 in registered_functions + assert myfunction2 in registered_functions def test_subcommand_parser_decorator_ensures_function_has_correct_signature():