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) -
4141
4242 # Record 0: Extra Pytest context log
4343 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' )
4545
4646 # Record 1: Duplicate Pytest context log
4747 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' )
4949
5050 # Record 2: Initializing Actor...
5151 assert caplog .records [2 ].levelno == logging .INFO
You can’t perform that action at this time.
0 commit comments