Skip to content

Commit

Permalink
Adapt consumer test
Browse files Browse the repository at this point in the history
  • Loading branch information
bouthilx committed Jul 23, 2021
1 parent 32da6f7 commit bb4e2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unittests/core/worker/test_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_code_changed_evc_disabled(config, monkeypatch, caplog):
con, trial = setup_code_change_mock(config, monkeypatch, ignore_code_changes=True)

with caplog.at_level(logging.WARNING):
con.consume(trial)
con(trial)
assert "Code changed between execution of 2 trials" in caplog.text


Expand Down

0 comments on commit bb4e2b6

Please sign in to comment.