diff --git a/tests/integration_tests/utils.py b/tests/integration_tests/utils.py index 589bce96..fe8a589c 100644 --- a/tests/integration_tests/utils.py +++ b/tests/integration_tests/utils.py @@ -34,7 +34,7 @@ def expect_reply(driver: Driver, post: Dict, wait=RESPONSE_TIMEOUT, retries=1): reply = thread_info["posts"][reply_id] break - if not reply: + if reply is None: raise ValueError("Expected a response, but didn't get any!") return reply