From fa57bc61581b193f2b264dc1274ece3d3810b976 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Mon, 27 May 2013 09:30:05 +0000 Subject: [PATCH] Change unittest for symmetric encryption to include correct boolean options. --- tests/test_gnupg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_gnupg.py b/tests/test_gnupg.py index e57b07c..ddd3b69 100644 --- a/tests/test_gnupg.py +++ b/tests/test_gnupg.py @@ -841,7 +841,7 @@ authentication.""" msg = """If you have something that you don't want anyone to know, maybe you shouldn't be doing it in the first place. - Eric Schmidt, CEO of Google""" - encrypted = str(self.gpg.encrypt(msg, None, passphrase='quiscustodiet', + encrypted = str(self.gpg.encrypt(msg, passphrase='quiscustodiet', symmetric=True, encrypt=False)) decrypted = self.gpg.decrypt(encrypted, passphrase='quiscustodiet') self.assertEqual(msg, str(decrypted.data))