Skip to content

Commit

Permalink
Fix integration test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver authored and dwsutherland committed Apr 1, 2022
1 parent 9346019 commit 2c493bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/test_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ async def test_illegal_config_load(
_make_flow(get_cylc_run_dir(), run_dir, one_conf, '')
schd.queue_command('reload_workflow', {})
assert log_filter(
log, level=logging.WARNING, exact_match=expected_msg
log, level=logging.ERROR,
exact_match=f"Command failed: reload_workflow()\n{expected_msg}"
)
else:
with pytest.raises(ParsecError):
Expand Down

0 comments on commit 2c493bb

Please sign in to comment.