mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 11:26:29 +03:00
Fix flaky test
Time is weird, and really this assert doesn't add that much to the party. Fixes #2904
This commit is contained in:
@@ -983,7 +983,8 @@ class TestOnlineAccount:
|
|||||||
assert msg2 in chat2.get_messages()
|
assert msg2 in chat2.get_messages()
|
||||||
assert chat2.is_contact_request()
|
assert chat2.is_contact_request()
|
||||||
assert chat2.count_fresh_messages() == 1
|
assert chat2.count_fresh_messages() == 1
|
||||||
assert msg2.time_received >= msg1.time_sent
|
# Like it or not, this assert is flaky
|
||||||
|
# assert msg2.time_received >= msg1.time_sent
|
||||||
|
|
||||||
lp.sec("create new chat with contact and verify it's proper")
|
lp.sec("create new chat with contact and verify it's proper")
|
||||||
chat2b = msg2.create_chat()
|
chat2b = msg2.create_chat()
|
||||||
|
|||||||
Reference in New Issue
Block a user