From: Philipp Gesang Date: Thu, 11 May 2017 09:28:08 +0000 (+0200) Subject: adapt unit tests for crypto.py subcommands X-Git-Tag: v2.2~7^2~114 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=79ba0b6cb56f1a795270c8f2073a7f2d8bf8db49;p=python-delta-tar adapt unit tests for crypto.py subcommands --- 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)):