aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/t-quick-key-creation.py
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-09-20 15:30:48 +0000
committerWerner Koch <[email protected]>2018-09-20 15:45:07 +0000
commit6878126b6f53cdf7daeeaf68116dda008564c2fa (patch)
tree776083d9c24dedd2b25b5e72405f641a9e29a4b3 /lang/python/tests/t-quick-key-creation.py
parentpython: Silence a few warnings. (diff)
downloadgpgme-6878126b6f53cdf7daeeaf68116dda008564c2fa.tar.gz
gpgme-6878126b6f53cdf7daeeaf68116dda008564c2fa.zip
python: Fix a couple of syntax errors.
* lang/python/tests/t-keylist-from-data.py: Add missing line continuation. * lang/python/tests/t-keylist.py: Ditto. * lang/python/tests/t-quick-key-creation.py: Ditto. * lang/python/tests/t-quick-subkey-creation.py: Ditto. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'lang/python/tests/t-quick-key-creation.py')
-rwxr-xr-xlang/python/tests/t-quick-key-creation.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/python/tests/t-quick-key-creation.py b/lang/python/tests/t-quick-key-creation.py
index 47209288..b3303fff 100755
--- a/lang/python/tests/t-quick-key-creation.py
+++ b/lang/python/tests/t-quick-key-creation.py
@@ -80,8 +80,11 @@ with support.EphemeralContext() as ctx:
"Primary keys expiration time is off"
# Check capabilities
- for sign, encrypt, certify, authenticate in itertools.
- product([False, True], [False, True], [False, True], [False, True]):
+ for sign, encrypt, certify, authenticate \
+ in itertools.product([False, True],
+ [False, True],
+ [False, True],
+ [False, True]):
# Filter some out
if not (sign or encrypt or certify or authenticate):
# This triggers the default capabilities tested before.