Skip to content

Commit

Permalink
Propagate errors in mode tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulScheerRLI committed Oct 30, 2024
1 parent 5b9b90f commit dc6231a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def test_error_handling_in_modes(self, caplog):
def test_modes(self, caplog, tmp_path):
args = self.get_args()
args.output_path = tmp_path
args.propagate_mode_errors = True
schedule, scenario = simulate(args)
with caplog.at_level(logging.ERROR):
args.mode = "sim"
Expand Down

0 comments on commit dc6231a

Please sign in to comment.