Skip to content

Commit

Permalink
Fix broken pytest parameters for test_factory
Browse files Browse the repository at this point in the history
  • Loading branch information
Pasarus committed Jul 16, 2024
1 parent e31fb1f commit 0ec2802
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/rules/test_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from rundetection.rules.inter_rules import InterStitchRule
from rundetection.rules.mari_rules import MariMaskFileRule, MariStitchRule, MariWBVANRule
from rundetection.rules.osiris_rules import (
OsirisCalibrationRule,
OsirisDefaultGraniteAnalyser,
OsirisDefaultSpectroscopy,
OsirisReductionModeRule,
Expand Down Expand Up @@ -51,7 +50,6 @@ def assert_correct_rule(name: str, value: Any, rule_type: type[Rule]):
("osirisdefaultspectroscopy", True, OsirisDefaultSpectroscopy),
("osirisdefaultgraniteanalyser", True, OsirisDefaultGraniteAnalyser),
("osirisreductionmode", True, OsirisReductionModeRule),
("osiriscalibration", "foo", OsirisCalibrationRule),
],
)
def test_rule_factory_returns_correct_rule(rule_key, rule_value, expected_rule):
Expand Down

0 comments on commit 0ec2802

Please sign in to comment.