fix py3 test failure

This commit is contained in:
Neil Johnson 2018-08-03 14:12:56 +01:00
parent da90337d89
commit b2aab04d2c

View File

@ -34,6 +34,7 @@ class ClientIpStoreTestCase(tests.unittest.TestCase):
@defer.inlineCallbacks @defer.inlineCallbacks
def test_insert_new_client_ip(self): def test_insert_new_client_ip(self):
self.hs.config.max_mau_value = 50
self.clock.now = 12345678 self.clock.now = 12345678
user_id = "@user:id" user_id = "@user:id"
yield self.store.insert_client_ip( yield self.store.insert_client_ip(