This commit is contained in:
Brendan Abolivier 2019-05-28 17:13:26 +01:00
parent 4aba561c65
commit 7e1c7cc274
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -483,5 +483,5 @@ class AccountValidityBackgroundJobTestCase(unittest.HomeserverTestCase):
res = self.get_success(self.store.get_expiration_ts_for_user(user_id))
self.assertLessEqual(res, now_ms + self.validity_period + self.delta)
self.assertLessEqual(res, now_ms + self.validity_period + self.max_delta)
self.assertGreaterEqual(res, now_ms + self.validity_period)