From: Ilya Churaev Date: Thu, 20 Aug 2020 15:46:34 +0000 (+0300) Subject: Fixed error message for ONNX importer tests (#1880) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cb7454f67a6956e1744e795abfe417a18c337c1;p=platform%2Fupstream%2Fdldt.git Fixed error message for ONNX importer tests (#1880) --- diff --git a/inference-engine/tests/unit/frontends/onnx_import/onnx_importer_test.cpp b/inference-engine/tests/unit/frontends/onnx_import/onnx_importer_test.cpp index 6b16ac7..baf7b75 100644 --- a/inference-engine/tests/unit/frontends/onnx_import/onnx_importer_test.cpp +++ b/inference-engine/tests/unit/frontends/onnx_import/onnx_importer_test.cpp @@ -107,7 +107,7 @@ TEST(ONNX_Importer_Tests, ImportModelWhenFileDoesNotExist) { FAIL() << "Any expection was thrown despite the ONNX model file does not exist"; } catch(const ngraph::ngraph_error& error) { - EXPECT_PRED_FORMAT2(testing::IsSubstring, std::string("Failure opening file:"), error.what()); + EXPECT_PRED_FORMAT2(testing::IsSubstring, std::string("Error during import of ONNX model expected to be in file:"), error.what()); } catch(...) { FAIL() << "Expected 'ngraph::ngraph_error' exception was not thrown despite the ONNX model file does not exist";