Skip to content

Commit

Permalink
small fix check tests on is None
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemIsmagilov committed Jul 19, 2024
1 parent b35d3b2 commit 78b613e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def expect_reply(driver: Driver, post: Dict, wait=RESPONSE_TIMEOUT, retries=1):
reply = thread_info["posts"][reply_id]
break

if reply is not None:
if reply is None:
raise ValueError("Expected a response, but didn't get any!")

return reply
Expand Down

0 comments on commit 78b613e

Please sign in to comment.