Skip to content

Commit 53de690

Browse files
committed
fix tests
1 parent 4c83f40 commit 53de690

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/actor/test_actor_log.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)