mirror of
https://github.com/progval/irctest.git
synced 2025-04-05 06:49:47 +00:00
test_cap: Fix random failure.
This commit is contained in:
@ -149,6 +149,8 @@ class CapTestCase(cases.BaseServerTestCase, cases.OptionalityHelper):
|
|||||||
self.assertEqual(enabled_caps, {cap1, cap2})
|
self.assertEqual(enabled_caps, {cap1, cap2})
|
||||||
|
|
||||||
self.sendLine(2, "PRIVMSG bar :hi")
|
self.sendLine(2, "PRIVMSG bar :hi")
|
||||||
|
self.getMessages(2) # Synchronize
|
||||||
|
|
||||||
m = self.getMessage(1)
|
m = self.getMessage(1)
|
||||||
self.assertIn("time", m.tags, m)
|
self.assertIn("time", m.tags, m)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user