[Pkg-privacy-commits] [monkeysign] 02/08: an argument to export_keys is mandatory in the new version

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:34:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch dev/python-gnupg
in repository monkeysign.

commit 96264e892fa86a26d633d2641380a2392296a7b3
Author: Antoine Beaupré <anarcat at koumbit.org>
Date:   Fri Aug 29 11:32:32 2014 -0700

    an argument to export_keys is mandatory in the new version
---
 tests/test_gpg.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_gpg.py b/tests/test_gpg.py
index 85c9587..d06e45f 100755
--- a/tests/test_gpg.py
+++ b/tests/test_gpg.py
@@ -125,7 +125,7 @@ class TestKeyringBasics(TestKeyringBase):
 
     def test_home(self):
         """test if the homedir is properly set and populated"""
-        self.gpg.export_keys('') # dummy call to make gpg populate his directory
+        self.gpg.export_keys('0000000') # dummy call to make gpg populate his directory
         self.assertTrue(open(self.tmp + '/pubring.gpg'))
 
     def test_import(self):
@@ -172,7 +172,7 @@ class TestKeyringBasics(TestKeyringBase):
         """a test should work on an empty keyring
 
         this is also a test of exporting an empty keyring"""
-        self.assertEqual(self.gpg.export_keys(), '')
+        self.assertEqual(self.gpg.export_keys(''), '')
 
     def test_sign_key_missing_key(self):
         """try to sign a missing key

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/monkeysign.git



More information about the Pkg-privacy-commits mailing list