diff options
author | Ben McGinnes <[email protected]> | 2018-09-27 00:07:08 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-09-27 00:07:08 +0000 |
commit | b9aea3b9c2c2762a9ae8d677196f82acc6a1c028 (patch) | |
tree | 4c2ee2881096749ac12cf4e12e0324922e5749d8 /lang/python/tests/t-import.py | |
parent | examples: python bindings (diff) | |
download | gpgme-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-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 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" |