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
1 changed files with 1 additions and 1 deletions

View File

@ -483,5 +483,5 @@ class AccountValidityBackgroundJobTestCase(unittest.HomeserverTestCase):
res = self.get_success(self.store.get_expiration_ts_for_user(user_id)) 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) self.assertGreaterEqual(res, now_ms + self.validity_period)