aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/initial.py
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-08-18 10:29:14 +0000
committerBen McGinnes <[email protected]>2018-08-18 10:29:14 +0000
commit5facba45c83f7daaacc49e66306e13a35aeb74be (patch)
treebaf659036cb95f3d5c75babdc242a4629c864616 /lang/python/tests/initial.py
parentPython bindings examples: PEP8 conpliance (diff)
downloadgpgme-5facba45c83f7daaacc49e66306e13a35aeb74be.tar.gz
gpgme-5facba45c83f7daaacc49e66306e13a35aeb74be.zip
Python bindings tests: Near PEP8 compliance
* PEP8 compliance for the vast majoeity of the tests.
Diffstat (limited to 'lang/python/tests/initial.py')
-rwxr-xr-xlang/python/tests/initial.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/python/tests/initial.py b/lang/python/tests/initial.py
index 49e4f82e..30a8de7a 100755
--- a/lang/python/tests/initial.py
+++ b/lang/python/tests/initial.py
@@ -18,17 +18,20 @@
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import, print_function, unicode_literals
-del absolute_import, print_function, unicode_literals
import os
import subprocess
import gpg
import support
+del absolute_import, print_function, unicode_literals
+
print("Using gpg module from {0!r}.".format(os.path.dirname(gpg.__file__)))
-subprocess.check_call([os.path.join(os.getenv('top_srcdir'),
- "tests", "start-stop-agent"), "--start"])
+subprocess.check_call([
+ os.path.join(os.getenv('top_srcdir'), "tests", "start-stop-agent"),
+ "--start"
+])
with gpg.Context() as c:
alpha = c.get_key("A0FF4590BB6122EDEF6E3C542D727CC768697734", False)