Loading
Assert that crypto keys are bytes
Simple update to these assertions...
Traceback (most recent call last):
File "/home/atagar/Desktop/tor/bridgedb/bridgedb/test/test_crypto.py", line 75, in test_getKey_tmpfile
"key isn't a string! type=%r" % type(key))
File "/usr/local/lib/python3.5/dist-packages/twisted/trial/_synctest.py", line 649, in assertIsInstance
instance, classOrTuple, suffix))
twisted.trial.unittest.FailTest: b'#\x1e\xe1\xef\x93\x1c\xdf\x1c\x81\xdd\x02\xc3\xd1$\x07\xfb\xac\x00qSG\xb1\x84\xd6\xe32N,\xa9\xfe\xc8\xa0' is not an instance of <class 'str'>: key isn't a string! type=<class 'bytes'>
Test results changed as follows...
before: FAILED (skips=115, failures=9, successes=860)
after: FAILED (skips=115, failures=3, successes=866)