aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/t-quick-key-creation.py
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-03-20 15:00:13 +0000
committerJustus Winter <[email protected]>2017-03-20 15:20:02 +0000
commite1cf8bab319ba1dea41ba5d711dbb66ffd8e6fd6 (patch)
tree0c9eed23717440e3cb6083699347a542b1e507b6 /lang/python/tests/t-quick-key-creation.py
parentpython: Remove superfluous initialization. (diff)
downloadgpgme-e1cf8bab319ba1dea41ba5d711dbb66ffd8e6fd6.tar.gz
gpgme-e1cf8bab319ba1dea41ba5d711dbb66ffd8e6fd6.zip
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: 3008 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/tests/t-quick-key-creation.py')
-rwxr-xr-xlang/python/tests/t-quick-key-creation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/python/tests/t-quick-key-creation.py b/lang/python/tests/t-quick-key-creation.py
index c642c5b4..8b7372e7 100755
--- a/lang/python/tests/t-quick-key-creation.py
+++ b/lang/python/tests/t-quick-key-creation.py
@@ -25,6 +25,7 @@ import itertools
import time
import support
+support.assert_gpg_version((2, 1, 2))
alpha = "Alpha <[email protected]>"