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:
parent
3e6fdfda00
commit
42e858daeb
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue