From 00ff6d07330028da370c869e3ec442eb76f8cbb8 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 24 May 2016 17:57:10 +0200 Subject: python: Improve and test Context.wait. * lang/python/pyme/core.py (Context.wait): Improve docstring. As the context passed to 'gpgme_wait' is never NULL, it is pointless to look at the returned context. Always raise exceptions. * lang/python/tests/Makefile.am (pytests): Add new test. * lang/python/tests/t-wait.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 236354ff..7df40a2d 100644 --- a/lang/python/tests/Makefile.am +++ b/lang/python/tests/Makefile.am @@ -39,7 +39,8 @@ py_tests = t-wrapper.py \ t-signers.py \ t-decrypt.py \ t-export.py \ - t-edit.py + t-edit.py \ + t-wait.py TESTS = $(top_srcdir)/tests/gpg/initial.test \ $(py_tests) \ -- cgit v1.2.3