aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/t-sign.py
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-03-20 15:07:07 +0000
committerJustus Winter <[email protected]>2017-03-20 15:07:07 +0000
commit4572e8d2ac1d3b45e75ce71265c99e591fbf0e28 (patch)
tree2e3cffb2d8b61499a793c2ff7eccabcff99b8d0a /lang/python/tests/t-sign.py
parentpython: Make error message more helpful. (diff)
downloadgpgme-4572e8d2ac1d3b45e75ce71265c99e591fbf0e28.tar.gz
gpgme-4572e8d2ac1d3b45e75ce71265c99e591fbf0e28.zip
python: Remove superfluous initialization.
* lang/python/tests/support.py (init_gpgme): Remove. This is an remnant from the c tests. Nowadays, the Python bindings initialize GPGME automagically. * lang/python/tests/initial.py: Remove call to 'support.init_gpgme'. * lang/python/tests/t-callbacks.py: Likewise. * lang/python/tests/t-decrypt-verify.py: Likewise. * lang/python/tests/t-decrypt.py: Likewise. * lang/python/tests/t-edit.py: Likewise. * lang/python/tests/t-encrypt-large.py: Likewise. * lang/python/tests/t-encrypt-sign.py: Likewise. * lang/python/tests/t-encrypt-sym.py: Likewise. * lang/python/tests/t-encrypt.py: Likewise. * lang/python/tests/t-export.py: Likewise. * lang/python/tests/t-file-name.py: Likewise. * lang/python/tests/t-idiomatic.py: Likewise. * lang/python/tests/t-import.py: Likewise. * lang/python/tests/t-keylist.py: Likewise. * lang/python/tests/t-sig-notation.py: Likewise. * lang/python/tests/t-sign.py: Likewise. * lang/python/tests/t-signers.py: Likewise. * lang/python/tests/t-trustlist.py: Likewise. * lang/python/tests/t-verify.py: Likewise. * lang/python/tests/t-wait.py: Likewise. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/tests/t-sign.py')
-rwxr-xr-xlang/python/tests/t-sign.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lang/python/tests/t-sign.py b/lang/python/tests/t-sign.py
index 9418ed88..d3757294 100755
--- a/lang/python/tests/t-sign.py
+++ b/lang/python/tests/t-sign.py
@@ -53,8 +53,6 @@ def check_result(r, typ):
if signature.fpr != "A0FF4590BB6122EDEF6E3C542D727CC768697734":
fail("Wrong fingerprint reported: {}".format(signature.fpr))
-
-support.init_gpgme(gpg.constants.protocol.OpenPGP)
c = gpg.Context()
c.set_textmode(True)
c.set_armor(True)