From 09803c4a81b9431fd4c8f30abb1c60c4c735f0cb Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 24 May 2016 12:29:32 +0200 Subject: python: Improve support for edit callbacks. * lang/python/helpers.c (pyEditCb): Stash exceptions. * lang/python/pyme/core.py (Context.op_edit): Hand in 'self'. * lang/python/tests/Makefile.am (py_tests): Add new test. * lang/python/tests/t-callbacks.py: Test edit callbacks. * lang/python/tests/t-edit.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 32dc4323..236354ff 100644 --- a/lang/python/tests/Makefile.am +++ b/lang/python/tests/Makefile.am @@ -38,7 +38,8 @@ py_tests = t-wrapper.py \ t-sign.py \ t-signers.py \ t-decrypt.py \ - t-export.py + t-export.py \ + t-edit.py TESTS = $(top_srcdir)/tests/gpg/initial.test \ $(py_tests) \ -- cgit