From 2bf66c5803d6f9ef83198fff6648aff651686f06 Mon Sep 17 00:00:00 2001 From: Jochem van Dooren Date: Wed, 20 Mar 2024 14:26:16 +0100 Subject: [PATCH] Remove unused variables --- tests/test_rule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_rule.py b/tests/test_rule.py index 5494e3a..63901e8 100644 --- a/tests/test_rule.py +++ b/tests/test_rule.py @@ -22,7 +22,7 @@ def assertions(rule_instance): assertions(class_rule_instance) -def test_missing_description_rule_class(class_rule): +def test_missing_description_rule_class(): """Test missing description in rule class.""" with pytest.raises(TypeError): class BadRule(Rule): @@ -33,7 +33,7 @@ def evaluate(self, model: Model) -> RuleViolation | None: return None -def test_missing_evaluate_rule_class(class_rule, model1): +def test_missing_evaluate_rule_class(model1): """Test missing evaluate implementation in rule class.""" class BadRule(Rule): """Bad example rule."""