Home GnuPG
Diffusion GPGME e1cf8bab319b

python: Skip tests if GnuPG is too old.
e1cf8bab319bUnpublished

Unpublished Commit ยท Learn More

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

Description

python: Skip tests if GnuPG is too old.

* lang/python/tests/support.py (assert_gpg_version): New function.
* lang/python/tests/t-callbacks.py: Use the new function to skip the
test if GnuPG is too old.
* lang/python/tests/t-edit.py: Likewise.
* lang/python/tests/t-encrypt-sym.py: Likewise.
* lang/python/tests/t-quick-key-creation.py: Likewise.
* lang/python/tests/t-quick-key-manipulation.py: Likewise.
* lang/python/tests/t-quick-key-signing.py: Likewise.
  • GnuPG-bug-id: T3008
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Mar 20 2017, 4:00 PM
Parents
rM4572e8d2ac1d: python: Remove superfluous initialization.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rMe1cf8bab319b: python: Skip tests if GnuPG is too old. (authored by Justus Winter <justus@g10code.com>).Mar 20 2017, 4:20 PM
justus mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:34 PM