summaryrefslogtreecommitdiff
path: root/keymanager
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2014-11-25 12:36:24 -0200
committerdrebs <drebs@leap.se>2014-11-25 12:36:24 -0200
commitd3a7f97ebc32434cd012f4cd5d334e775e2ead49 (patch)
tree90ef2a07433dd3f39732aa4f2d653a5fe6fc72ea /keymanager
parent66118b3797ca554c293ea2459856af2480de2b1b (diff)
Fix test to use correct new signature for openpgp.put_ascii_key().
Diffstat (limited to 'keymanager')
-rw-r--r--keymanager/src/leap/keymanager/tests/test_keymanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keymanager/src/leap/keymanager/tests/test_keymanager.py b/keymanager/src/leap/keymanager/tests/test_keymanager.py
index 6aeb67a..319d2e1 100644
--- a/keymanager/src/leap/keymanager/tests/test_keymanager.py
+++ b/keymanager/src/leap/keymanager/tests/test_keymanager.py
@@ -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)