Skip to content

Commit

Permalink
test: Add a rare possibility into an assertion inside `test_hypothesi…
Browse files Browse the repository at this point in the history
…s_failed_event`
  • Loading branch information
Stranger6667 committed Dec 25, 2020
1 parent f4a7fd7 commit 2ca9f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli/test_commands.py
Expand Up @@ -547,7 +547,7 @@ def test_hypothesis_failed_event(cli, cli_args, workers):
assert lines[10].startswith("GET /api/slow E")
else:
# It could be in any sequence, because of multiple threads
assert lines[10].split("\n")[0] in ("E.", ".E")
assert lines[10].split("\n")[0] in ("E.", ".E", "EE")
# empty line after all tests progress output
assert lines[11] == ""
# And the proper error message from Hypothesis should be displayed
Expand Down

0 comments on commit 2ca9f50

Please sign in to comment.