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:
Ben McGinnes 2018-09-27 10:07:08 +10:00
parent 7c9f49a499
commit b9aea3b9c2

View File

@ -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"