diff options
author | Daniel Kahn Gillmor <[email protected]> | 2016-10-28 20:45:49 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-10-31 14:42:27 +0000 |
commit | 2fac017618a76882605125b05ff1f7393fe99860 (patch) | |
tree | b7eddc17682b6aa91b8c3c723a2fc02f28ac0a6c /lang/python/tests/t-verify.py | |
parent | core: New API functions gpgme_set_sender, gpgme_get_sender. (diff) | |
download | gpgme-2fac017618a76882605125b05ff1f7393fe99860.tar.gz gpgme-2fac017618a76882605125b05ff1f7393fe99860.zip |
python: Rename Python module from PyME to gpg.
This follows weeks of discussion on the gnupg-devel mailing list.
Hopefully it will make it easier for people using Python to use GnuPG
in the future.
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'lang/python/tests/t-verify.py')
-rwxr-xr-x | lang/python/tests/t-verify.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/tests/t-verify.py b/lang/python/tests/t-verify.py index 39f6176d..830c1788 100755 --- a/lang/python/tests/t-verify.py +++ b/lang/python/tests/t-verify.py @@ -22,8 +22,8 @@ del absolute_import, print_function, unicode_literals import sys import os -import pyme -from pyme import core, constants, errors +import gpg +from gpg import core, constants, errors import support test_text1 = b"Just GNU it!\n" @@ -145,7 +145,7 @@ else: # Idiomatic interface. -with pyme.Context(armor=True) as c: +with gpg.Context(armor=True) as c: # Checking a valid message. _, result = c.verify(test_text1, test_sig1) check_result(result, constants.SIGSUM_VALID | constants.SIGSUM_GREEN, |