Skip to content

Commit 4e07c6d

Browse files
author
Sebastian Molenda
committed
Fix for behat tests
1 parent 636acaf commit 4e07c6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/acceptance/subscribe/steps/then_steps.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,6 @@ async def step_impl(context, channel1, channel2):
131131
@then(u'I don\'t observe any Events and Invocations of the Presence EE')
132132
@async_run_until_complete
133133
async def step_impl(context):
134-
assert len(context.log_stream.getvalue().splitlines()) == 0
134+
logs = context.log_stream.getvalue().splitlines()
135+
logs = list(filter(lambda line: not line == 'Shutting down StateMachine', logs))
136+
assert len(logs) == 0

0 commit comments

Comments
 (0)