From 79ba0b6cb56f1a795270c8f2073a7f2d8bf8db49 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 11 May 2017 11:28:08 +0200 Subject: [PATCH] adapt unit tests for crypto.py subcommands --- testing/test_encryption.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_encryption.py b/testing/test_encryption.py index 25cc1ae..dfbc603 100644 --- a/testing/test_encryption.py +++ b/testing/test_encryption.py @@ -71,7 +71,7 @@ class EncryptionTest(BaseTest): # decrypt outer archive layer with crypto.py assert os.path.exists("sample.tar.gz.pdtcrypt") - ret = os.system("python3 -s ./deltatar/crypto.py key sample.tar.gz") + ret = os.system("python3 -s ./deltatar/crypto.py process key sample.tar.gz") assert ret == 0 assert os.path.exists("sample.tar.gz") @@ -113,7 +113,7 @@ class EncryptionTest(BaseTest): os.unlink(k) assert os.path.exists("sample.tar.gz.pdtcrypt") - ret = os.system("python3 -s ./deltatar/crypto.py key --split " + ret = os.system("python3 -s ./deltatar/crypto.py process key --split " "-i sample.tar.gz.pdtcrypt -o .") assert ret == 0 for i in range (len (hash)): -- 1.7.1