Skip to content

Commit

Permalink
update scenario_count
Browse files Browse the repository at this point in the history
  • Loading branch information
mplsgrant committed Jul 17, 2024
1 parent a7e7ce2 commit 4325583
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/scenarios_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ def check_available_scenarios(self):
self.log.info("Checking available scenarios")
# Use rpc instead of warcli so we get raw JSON object
scenarios = self.rpc("scenarios_available")
assert len(scenarios) == 4, f"Expected 4 available scenarios, got {len(scenarios)}"
scenario_count = 5
assert len(scenarios) == scenario_count, (
f"Expected {scenario_count} available scenarios, " f"got {len(scenarios)}"
)
self.log.info(f"Found {len(scenarios)} available scenarios")

def scenario_running(self, scenario_name: str):
Expand Down

0 comments on commit 4325583

Please sign in to comment.