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)