mirror of https://github.com/nucypher/nucypher.git
Add check for num_keys in test_build_header_prealpha
parent
de59deb7b1
commit
0feb161d7b
|
@ -43,8 +43,9 @@ class TestClient(unittest.TestCase):
|
|||
try:
|
||||
msgpack.loads(header)
|
||||
except Exception as E:
|
||||
self.fail("Failed to unpack header: {}".format(E))
|
||||
self.fail("Failed to unpack header:\n{}".format(E))
|
||||
|
||||
self.assertIn((3).to_bytes(4, byteorder='big'), header)
|
||||
for key in enc_keys:
|
||||
self.assertIn(key, header)
|
||||
|
||||
|
|
Loading…
Reference in New Issue