aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/t-protocol-assuan.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/tests/t-protocol-assuan.py')
-rwxr-xr-xlang/python/tests/t-protocol-assuan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/tests/t-protocol-assuan.py b/lang/python/tests/t-protocol-assuan.py
index ad22ae3f..0084a6bd 100755
--- a/lang/python/tests/t-protocol-assuan.py
+++ b/lang/python/tests/t-protocol-assuan.py
@@ -22,7 +22,7 @@ del absolute_import, print_function, unicode_literals
import gpg
-with gpg.Context(protocol=gpg.constants.PROTOCOL_ASSUAN) as c:
+with gpg.Context(protocol=gpg.constants.protocol.ASSUAN) as c:
# Do nothing.
c.assuan_transact('nop')
c.assuan_transact('NOP')