From b9aea3b9c2c2762a9ae8d677196f82acc6a1c028 Mon Sep 17 00:00:00 2001 From: Ben McGinnes Date: Thu, 27 Sep 2018 10:07:08 +1000 Subject: [PATCH] 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). --- lang/python/tests/t-import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"