fix tests

This commit is contained in:
merlokk 2019-07-04 20:42:24 +03:00
parent 2272e69e15
commit 4d9285085f
2 changed files with 2 additions and 4 deletions

View File

@ -222,9 +222,7 @@ class FIDO2Tests(Tester):
) )
with Test("Get shared secret"): with Test("Get shared secret"):
key_agreement, shared_secret = ( key_agreement, shared_secret = self.client.pin_protocol.get_shared_secret()
self.client.pin_protocol.get_shared_secret()
)
cipher = Cipher( cipher = Cipher(
algorithms.AES(shared_secret), algorithms.AES(shared_secret),
modes.CBC(b"\x00" * 16), modes.CBC(b"\x00" * 16),

View File

@ -51,7 +51,7 @@ class Tester:
self.host = "examplo.org" self.host = "examplo.org"
self.user_count = 10 self.user_count = 10
self.is_sim = False self.is_sim = False
self.nfc_interface_only = False; self.nfc_interface_only = False
if tester: if tester:
self.initFromTester(tester) self.initFromTester(tester)