gpgme/lang/python/tests
Justus Winter d90857a08c python: Robust exception handling in callbacks.
* lang/python/helpers.c (pygpgme_stash_callback_exception): New
function.
(pygpgme_raise_callback_exception): Likewise.
(pyPassphraseCb): Stash python errors.
* lang/python/helpers.h (pygpgme_raise_callback_exception): New
prototype.
* lang/python/pyme/core.py ({Context,Data}.__init__): Move common
initialization to superclass.
(Context.set_progress_cb): Hand in 'self'.
* lang/python/pyme/util.py (GpgmeWrapper.__init__): New function.
(GpgmeWrapper.__getattr__): Raise stashed exceptions.
* lang/python/tests/Makefile.am (py_tests): Add new test.
* lang/python/tests/t-callbacks.py: New file.

Signed-off-by: Justus Winter <justus@gnupg.org>
2016-05-19 15:58:45 +02:00
..
Makefile.am python: Robust exception handling in callbacks. 2016-05-19 15:58:45 +02:00
support.py python: Add more tests. 2016-05-19 11:09:45 +02:00
t-callbacks.py python: Robust exception handling in callbacks. 2016-05-19 15:58:45 +02:00
t-data.py python: Fix writing to data buffers. 2016-05-12 17:59:21 +02:00
t-decrypt.py python: Add more tests. 2016-05-19 11:09:45 +02:00
t-encrypt-sym.py python: Add more tests. 2016-05-19 11:09:45 +02:00
t-encrypt.py python: Add more tests. 2016-05-19 11:09:45 +02:00
t-sign.py python: Add more tests. 2016-05-19 11:09:45 +02:00
t-wrapper.py python: Share generated methods between objects. 2016-05-12 18:29:04 +02:00