summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-08-18 17:38:37 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-08-18 17:38:37 +0100
commit42e858daeb59b86c451e3f49d40c1f418c8f0748 (patch)
tree4bb132ecf7bee4a019b2680466d2ed31cb12d237 /tests
parentFix some formatting to use tuples (diff)
downloadsynapse-42e858daeb59b86c451e3f49d40c1f418c8f0748.tar.xz
Fix units in test
I made the non-test seconds instead of ms, but not the test
Diffstat (limited to 'tests')
-rw-r--r--tests/handlers/test_register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_register.py b/tests/handlers/test_register.py
index 0766affe81..91cc90242f 100644
--- a/tests/handlers/test_register.py
+++ b/tests/handlers/test_register.py
@@ -60,7 +60,7 @@ class RegisterTestCase(unittest.TestCase):
             return caveat == "type = access"
 
         def verify_expiry(caveat):
-            return caveat == "time < 8600"
+            return caveat == "time < 8600000"
 
         v = pymacaroons.Verifier()
         v.satisfy_general(verify_gen)