From 8e0571fdb6425ca5163c942fa0ed56506aab7bec Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 28 Dec 2015 20:01:19 +0300 Subject: test/file.py: fix temp file paths --- test/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/file.py') 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): -- cgit v1.2.3