Fix test on servers not implementing server-time.

This commit is contained in:
Valentin Lorentz
2015-12-28 12:40:08 +01:00
parent 7fd17ad329
commit a90490019f

View File

@ -38,7 +38,8 @@ class EchoMessageTestCase(cases.BaseServerTestCase):
self.sendLine(1, 'JOIN #chan')
if not solo:
self.connectClient('qux', capabilities=['server-time'])
capabilities = ['server-time'] if server_time else []
self.connectClient('qux', capabilities=capabilities)
self.sendLine(2, 'JOIN #chan')
# Synchronize and clean