try to find the problem
This commit is contained in:
parent
810db996cd
commit
cbbc880f44
1 changed files with 1 additions and 1 deletions
|
@ -181,8 +181,8 @@ def test_encryptor():
|
||||||
for method in CIPHERS_TO_TEST:
|
for method in CIPHERS_TO_TEST:
|
||||||
logging.warn(method)
|
logging.warn(method)
|
||||||
encryptor = Encryptor(b'key', method)
|
encryptor = Encryptor(b'key', method)
|
||||||
cipher = encryptor.encrypt(plain)
|
|
||||||
decryptor = Encryptor(b'key', method)
|
decryptor = Encryptor(b'key', method)
|
||||||
|
cipher = encryptor.encrypt(plain)
|
||||||
plain2 = decryptor.decrypt(cipher)
|
plain2 = decryptor.decrypt(cipher)
|
||||||
assert plain == plain2
|
assert plain == plain2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue