0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-18 16:02:15 +01:00

Fix units in test

I made the non-test seconds instead of ms, but not the test
This commit is contained in:
Daniel Wagner-Hall 2015-08-18 17:38:37 +01:00
parent 3e6fdfda00
commit 42e858daeb

View file

@ -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)