Skip to content

Commit

Permalink
Fix misused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
barroco committed Aug 4, 2023
1 parent 1e74f6f commit c08784e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def step_under_test(self: UnitTestScenario):
test_scenario=self,
rid_version=RIDVersion.f3411_22a,
)
evaluator.evaluate_operator_id(value, RIDVersion.f3411_22a)
evaluator.evaluate_operator_id(value, [])

unit_test_scenario = UnitTestScenario(step_under_test).execute_unit_test()
assert unit_test_scenario.get_report().successful == outcome
Expand All @@ -38,7 +38,7 @@ def step_under_test(self: UnitTestScenario):
test_scenario=self,
rid_version=RIDVersion.f3411_22a,
)
evaluator.evaluate_operator_location(value, RIDVersion.f3411_22a)
evaluator.evaluate_operator_location(value, [])

unit_test_scenario = UnitTestScenario(step_under_test).execute_unit_test()
assert (
Expand Down Expand Up @@ -168,7 +168,7 @@ def step_under_test(self: UnitTestScenario):
rid_version=RIDVersion.f3411_22a,
)

evaluator.evaluate_operational_status(value, RIDVersion.f3411_22a)
evaluator.evaluate_operational_status(value, [])

unit_test_scenario = UnitTestScenario(step_under_test).execute_unit_test()
assert unit_test_scenario.get_report().successful == outcome
Expand All @@ -177,4 +177,4 @@ def step_under_test(self: UnitTestScenario):
def test_operational_status():
_assert_operational_status("Undeclared", True) # v19 and v22a
_assert_operational_status("Emergency", True) # v22a only
_assert_operational_status("Invalid", False) # Invalid
_assert_operational_status("Invalid", False) # Invalid

0 comments on commit c08784e

Please sign in to comment.