gpgme/lang/python/tests
Justus Winter a458e7fe20 python: Adapt to 'gpgme_op_interact'.
* lang/python/examples/inter-edit.py: Update example.
* lang/python/gpgme.i (gpgme_edit_cb_t): Turn into
'gpgme_interact_cb_t'.
* lang/python/helpers.c (_pyme_edit_cb): Turn into
'_pyme_interact_cb_t'.
* lang/python/private.h (_pyme_edit_cb): Likewise.
* lang/python/pyme/constants/__init__.py: Replace numeric status codes
with the keywords.
* lang/python/pyme/constants/status.py: Likewise.
* lang/python/pyme/core.py (Context.interact): New method.
(Context.op_edit): Deprecate, update docstring, implement using
Context.interact.
* lang/python/tests/t-edit.py: Test both interfaces.

Signed-off-by: Justus Winter <justus@g10code.com>
2016-09-16 14:56:29 +02:00
..
encrypt-only.asc python: Add an idiomatic interface. 2016-07-15 18:28:09 +02:00
final.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
initial.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
Makefile.am python: Build for both Python2 and Python3. 2016-09-14 12:18:15 +02:00
run-tests.py python: Build for both Python2 and Python3. 2016-09-14 12:18:15 +02:00
sign-only.asc python: Add an idiomatic interface. 2016-07-15 18:28:09 +02:00
support.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-callbacks.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-data.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-decrypt-verify.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-decrypt.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-edit.py python: Adapt to 'gpgme_op_interact'. 2016-09-16 14:56:29 +02:00
t-encrypt-large.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-encrypt-sign.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-encrypt-sym.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-encrypt.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-export.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-file-name.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-idiomatic.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-import.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-keylist.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-protocol-assuan.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-sig-notation.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-sign.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-signers.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-trustlist.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-verify.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-wait.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
t-wrapper.py python: Use more generic shebang. 2016-09-14 12:15:57 +02:00