mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-27 20:52:30 +00:00
Fix units in test
I made the non-test seconds instead of ms, but not the test
This commit is contained in:
parent
3e6fdfda00
commit
42e858daeb
@ -60,7 +60,7 @@ class RegisterTestCase(unittest.TestCase):
|
|||||||
return caveat == "type = access"
|
return caveat == "type = access"
|
||||||
|
|
||||||
def verify_expiry(caveat):
|
def verify_expiry(caveat):
|
||||||
return caveat == "time < 8600"
|
return caveat == "time < 8600000"
|
||||||
|
|
||||||
v = pymacaroons.Verifier()
|
v = pymacaroons.Verifier()
|
||||||
v.satisfy_general(verify_gen)
|
v.satisfy_general(verify_gen)
|
||||||
|
Loading…
Reference in New Issue
Block a user