summaryrefslogtreecommitdiff
path: root/src/leap/keymanager/tests
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
commitc794991d65d987b59014d067e730976684307775 (patch)
tree206f723b6cb4279952e759618be8e9bcb84a0b88 /src/leap/keymanager/tests
parent1fb936a045e23a0d0324d511cb9117f7374cef3d (diff)
Fix test to use correct new signature for openpgp.put_ascii_key().
Diffstat (limited to 'src/leap/keymanager/tests')
-rw-r--r--src/leap/keymanager/tests/test_keymanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/keymanager/tests/test_keymanager.py b/src/leap/keymanager/tests/test_keymanager.py
index 6aeb67a8..319d2e11 100644
--- a/src/leap/keymanager/tests/test_keymanager.py
+++ b/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)