Skip to content

Commit

Permalink
Fix for behat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seba-aln committed Dec 5, 2024
1 parent 636acaf commit 4e07c6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/acceptance/subscribe/steps/then_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,6 @@ async def step_impl(context, channel1, channel2):
@then(u'I don\'t observe any Events and Invocations of the Presence EE')
@async_run_until_complete
async def step_impl(context):
assert len(context.log_stream.getvalue().splitlines()) == 0
logs = context.log_stream.getvalue().splitlines()
logs = list(filter(lambda line: not line == 'Shutting down StateMachine', logs))
assert len(logs) == 0

0 comments on commit 4e07c6d

Please sign in to comment.