diff options
Diffstat (limited to 'lang/python/tests/t-import.py')
-rwxr-xr-x | lang/python/tests/t-import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/tests/t-import.py b/lang/python/tests/t-import.py index 68ad6d7d..5b0576f2 100755 --- a/lang/python/tests/t-import.py +++ b/lang/python/tests/t-import.py @@ -67,7 +67,7 @@ def check_result(result, fpr, secret): assert len(result.imports) == 1 or fpr == result.imports[1].fpr assert result.imports[0].result == 0 -support.init_gpgme(gpg.constants.PROTOCOL_OpenPGP) +support.init_gpgme(gpg.constants.protocol.OpenPGP) c = gpg.Context() c.op_import(gpg.Data(file=support.make_filename("pubkey-1.asc"))) |