try to find the problem

This commit is contained in:
clowwindy 2014-12-11 23:22:48 +08:00
parent 810db996cd
commit cbbc880f44
1 changed files with 1 additions and 1 deletions

View File

@ -181,8 +181,8 @@ def test_encryptor():
for method in CIPHERS_TO_TEST:
logging.warn(method)
encryptor = Encryptor(b'key', method)
cipher = encryptor.encrypt(plain)
decryptor = Encryptor(b'key', method)
cipher = encryptor.encrypt(plain)
plain2 = decryptor.decrypt(cipher)
assert plain == plain2