File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,11 @@ async def test_actor_logs_messages_correctly(caplog: pytest.LogCaptureFixture) -
41
41
42
42
# Record 0: Extra Pytest context log
43
43
assert caplog .records [0 ].levelno == logging .DEBUG
44
- assert caplog .records [0 ].message == 'Actor is running in Pytest, setting default call exit to False.'
44
+ assert caplog .records [0 ].message . startswith ( 'Running in Pytest' )
45
45
46
46
# Record 1: Duplicate Pytest context log
47
47
assert caplog .records [1 ].levelno == logging .DEBUG
48
- assert caplog .records [1 ].message == 'Actor is running in Pytest, setting default call exit to False.'
48
+ assert caplog .records [0 ].message . startswith ( 'Running in Pytest' )
49
49
50
50
# Record 2: Initializing Actor...
51
51
assert caplog .records [2 ].levelno == logging .INFO
You can’t perform that action at this time.
0 commit comments