aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-08-03 14:32:30 +0000
committerJustus Winter <[email protected]>2016-08-03 14:32:30 +0000
commit56e26b54da9f16961209275d7a61883d3ea898ca (patch)
treece321c374924d73d9bcc083f4227d558d80734be /lang/python/tests
parentpython: Add a flag identifying in-tree builds. (diff)
downloadgpgme-56e26b54da9f16961209275d7a61883d3ea898ca.tar.gz
gpgme-56e26b54da9f16961209275d7a61883d3ea898ca.zip
python: Add a nicer interface to list keys.
* lang/python/pyme/core.py (Context.keylist): New method. * lang/python/tests/t-keylist.py: Test new method. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/tests')
-rwxr-xr-xlang/python/tests/t-keylist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/tests/t-keylist.py b/lang/python/tests/t-keylist.py
index fb59321d..40d9c808 100755
--- a/lang/python/tests/t-keylist.py
+++ b/lang/python/tests/t-keylist.py
@@ -216,7 +216,7 @@ result = c.op_keylist_result()
assert not result.truncated, "Key listing unexpectedly truncated"
-for i, key in enumerate(c.op_keylist_all(None, False)):
+for i, key in enumerate(c.keylist()):
try:
if len(keys[i]) == 4:
fpr, sec_keyid, uids, n_subkeys = keys[i]