Home GnuPG
Diffusion GPGME 00ff6d073300

python: Improve and test Context.wait.
00ff6d073300Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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 <justus@gnupg.org>

Details

Provenance
justusAuthored on May 24 2016, 5:57 PM
Parents
rM7bc9cc717e42: python: Make all GnuPG errors available.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@gnupg.org> committed rM00ff6d073300: python: Improve and test Context.wait. (authored by Justus Winter <justus@gnupg.org>).May 24 2016, 6:00 PM