From 3e503bf67753c86dd1b06201326b6bfc1e166ab1 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Thu, 11 Dec 2014 22:43:46 +0800 Subject: [PATCH] log method in encrypt unit test --- shadowsocks/encrypt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shadowsocks/encrypt.py b/shadowsocks/encrypt.py index e08c0a2..d5b1535 100644 --- a/shadowsocks/encrypt.py +++ b/shadowsocks/encrypt.py @@ -179,6 +179,7 @@ def test_encryptor(): from os import urandom plain = urandom(10240) for method in CIPHERS_TO_TEST: + logging.warn(method) encryptor = Encryptor(b'key', method) cipher = encryptor.encrypt(plain) decryptor = Encryptor(b'key', method) @@ -190,6 +191,7 @@ def test_encrypt_all(): from os import urandom plain = urandom(10240) for method in CIPHERS_TO_TEST: + logging.warn(method) cipher = encrypt_all(b'key', method, 1, plain) plain2 = encrypt_all(b'key', method, 0, cipher) assert plain == plain2