aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/t-import.py
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-09-27 00:07:08 +0000
committerBen McGinnes <[email protected]>2018-09-27 00:07:08 +0000
commitb9aea3b9c2c2762a9ae8d677196f82acc6a1c028 (patch)
tree4c2ee2881096749ac12cf4e12e0324922e5749d8 /lang/python/tests/t-import.py
parentexamples: python bindings (diff)
downloadgpgme-b9aea3b9c2c2762a9ae8d677196f82acc6a1c028.tar.gz
gpgme-b9aea3b9c2c2762a9ae8d677196f82acc6a1c028.zip
tests: python bindings
* Fixed the final assertion to look for what will actually be reported in that case instead of something else (i.e. it looks for an IMPORT_ERROR status code).
Diffstat (limited to 'lang/python/tests/t-import.py')
-rwxr-xr-xlang/python/tests/t-import.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/tests/t-import.py b/lang/python/tests/t-import.py
index 8d8a6998..82d3a4e1 100755
--- a/lang/python/tests/t-import.py
+++ b/lang/python/tests/t-import.py
@@ -82,4 +82,4 @@ try:
result = c.key_import(b"thisisnotakey")
except ValueError:
pass
-assert result.considered == 0
+assert result == "IMPORT_PROBLEM"