diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-08-18 17:38:37 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-08-18 17:38:37 +0100 |
commit | 42e858daeb59b86c451e3f49d40c1f418c8f0748 (patch) | |
tree | 4bb132ecf7bee4a019b2680466d2ed31cb12d237 /tests/handlers/test_register.py | |
parent | Fix some formatting to use tuples (diff) | |
download | synapse-42e858daeb59b86c451e3f49d40c1f418c8f0748.tar.xz |
Fix units in test
I made the non-test seconds instead of ms, but not the test
Diffstat (limited to '')
-rw-r--r-- | tests/handlers/test_register.py | 2 |
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) |