Fix test to use correct new signature for openpgp.put_ascii_key().
authordrebs <drebs@leap.se>
Tue, 25 Nov 2014 14:36:24 +0000 (12:36 -0200)
committerdrebs <drebs@leap.se>
Tue, 25 Nov 2014 14:36:24 +0000 (12:36 -0200)
src/leap/keymanager/tests/test_keymanager.py

index 6aeb67a..319d2e1 100644 (file)
@@ -205,7 +205,7 @@ class OpenPGPCryptoTestCase(KeyManagerWithSoledadTestCase):
     def test_verify_with_private_raises(self):
         pgp = openpgp.OpenPGPScheme(
             self._soledad, gpgbinary=GPG_BINARY_PATH)
-        pgp.put_ascii_key(PRIVATE_KEY)
+        pgp.put_ascii_key(PRIVATE_KEY, ADDRESS)
         data = 'data'
         privkey = pgp.get_key(ADDRESS, private=True)
         signed = pgp.sign(data, privkey)