Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jochemvandooren committed Mar 20, 2024
1 parent cb82aa2 commit 2bf66c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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."""
Expand Down

0 comments on commit 2bf66c5

Please sign in to comment.