Skip to content

Commit

Permalink
Update test_simulation.py to account for changes to return types
Browse files Browse the repository at this point in the history
  • Loading branch information
chetanyagoyal authored Nov 9, 2023
1 parent 21abaaf commit afe5a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/common_api/test_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def run_before_and_after_tests():
rmtree(RUNS_DIR)

def test_simulations():
num_runs = run_simulations(
sim_state = run_simulations(
parameters=PARAMS,
platform = "",
simulation_dir = TEST_SIMULATION_DIR,
Expand All @@ -69,7 +69,7 @@ def test_simulations():
)

# Check if the correct number of configurations are generated
assert num_runs == EXPECTED_NUM_CONFIGS, "The number of runs does not match the expected number."
assert sim_state["completed_sims"] == EXPECTED_NUM_CONFIGS, "The number of runs does not match the expected number."
assert len(os.listdir(RUNS_DIR)) == EXPECTED_NUM_CONFIGS, "The number of generated configurations does not match the expected number."


Expand Down

0 comments on commit afe5a03

Please sign in to comment.