From de69fa496c09386d5e99747670d6887cf52dd09e Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 28 Jul 2016 12:40:54 +0200 Subject: python: Support the Assuan engine. * lang/python/gpgme.i: Add typemaps for the Assuan protocol callbacks. * lang/python/helpers.c (_pyme_assuan_{data,inquire,status}_cb): New functions. * lang/python/private.h (_pyme_assuan_{data,inquire,status}_cb): New prototypes. * lang/python/pyme/core.py (Context.assuan_transact): New method. * lang/python/pyme/util.py (percent_escape): New function. * lang/python/tests/Makefile.am (py_tests): Add new test. * lang/python/tests/t-protocol-assuan.py: New file. Signed-off-by: Justus Winter --- lang/python/tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang/python/tests/Makefile.am') diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am index b2e725fa..bc571fe4 100644 --- a/lang/python/tests/Makefile.am +++ b/lang/python/tests/Makefile.am @@ -49,7 +49,8 @@ py_tests = t-wrapper.py \ t-wait.py \ t-encrypt-large.py \ t-file-name.py \ - t-idiomatic.py + t-idiomatic.py \ + t-protocol-assuan.py TESTS = initial.py $(py_tests) final.py EXTRA_DIST = support.py $(TESTS) encrypt-only.asc sign-only.asc -- cgit v1.2.3