From e1cf8bab319ba1dea41ba5d711dbb66ffd8e6fd6 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 20 Mar 2017 16:00:13 +0100 Subject: 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 --- lang/python/tests/t-quick-key-signing.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lang/python/tests/t-quick-key-signing.py') diff --git a/lang/python/tests/t-quick-key-signing.py b/lang/python/tests/t-quick-key-signing.py index f9778a33..3d648c5b 100755 --- a/lang/python/tests/t-quick-key-signing.py +++ b/lang/python/tests/t-quick-key-signing.py @@ -25,6 +25,7 @@ import itertools import time import support +support.assert_gpg_version((2, 1, 1)) with support.EphemeralContext() as ctx: uid_counter = 0 -- cgit v1.2.3