summary refs log tree commit diff
path: root/tests/rest/client
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-05-28 17:13:26 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-05-28 17:13:26 +0100
commit7e1c7cc2742f5eb9d6d37205a0c457b8a7bd015f (patch)
treedbe55b6472f746e58fecb8a8c36cbe5fceabb61d /tests/rest/client
parentConfig and changelog (diff)
downloadsynapse-7e1c7cc2742f5eb9d6d37205a0c457b8a7bd015f.tar.xz
Typo
Diffstat (limited to 'tests/rest/client')
-rw-r--r--tests/rest/client/v2_alpha/test_register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/v2_alpha/test_register.py b/tests/rest/client/v2_alpha/test_register.py
index 7603440fd8..68654e25ab 100644
--- a/tests/rest/client/v2_alpha/test_register.py
+++ b/tests/rest/client/v2_alpha/test_register.py
@@ -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)