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).
This commit is contained in:
parent
7c9f49a499
commit
b9aea3b9c2
@ -82,4 +82,4 @@ try:
|
|||||||
result = c.key_import(b"thisisnotakey")
|
result = c.key_import(b"thisisnotakey")
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
assert result.considered == 0
|
assert result == "IMPORT_PROBLEM"
|
||||||
|
Loading…
Reference in New Issue
Block a user