diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-12-28 20:01:19 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-12-28 20:01:19 +0300 |
commit | 8e0571fdb6425ca5163c942fa0ed56506aab7bec (patch) | |
tree | 58e8f627b07bbe8946c4a273d1784e02bf92d45f /test/file | |
parent | utils: code style (diff) | |
download | aes-tools-8e0571fdb6425ca5163c942fa0ed56506aab7bec.tar.gz aes-tools-8e0571fdb6425ca5163c942fa0ed56506aab7bec.zip |
test/file.py: fix temp file paths
Diffstat (limited to '')
-rw-r--r-- | test/file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/file.py b/test/file.py index 03a12de..615132c 100644 --- a/test/file.py +++ b/test/file.py @@ -42,7 +42,7 @@ def _run_decryption_test(tools, tmp_dir, algorithm, mode, key, cipher_path, plai logging.info('Running decryption test...') logging.info('\tCiphertext file path: ' + cipher_path) logging.info('\tExpected plaintext file path: ' + plain_path) - tmp_path = os.path.join(tmp_dir, os.path.basename(cipher_path)) + tmp_path = os.path.join(tmp_dir, os.path.basename(plain_path)) logging.info('\tDecrypted file path: ' + tmp_path) tools.run_decrypt_file(algorithm, mode, key, cipher_path, tmp_path, iv) if filecmp.cmp(tmp_path, plain_path): |