We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42a798e commit 447498cCopy full SHA for 447498c
tests/launcher/test_experiments.py
@@ -29,15 +29,5 @@ def test_select_experiment_multiple_experiments_discovered_and_logs_constant(cap
29
assert {"first_experiment", "second_experiment"}.issubset(names)
30
assert selected.name == "first_experiment"
31
32
- caplog.clear()
33
- caplog.set_level("INFO")
34
launcher = Mock()
35
- launcher.logger = Mock()
36
-
37
selected.func(launcher)
38
39
- # Check that logger.info was called with the formatted constant.
40
- from mock_third_party_pkg import mock_constant # type: ignore[import]
41
42
- expected = f"running first_experiment with mock_constant={mock_constant}"
43
- launcher.logger.info.assert_any_call(expected)
0 commit comments