Fixed error message for ONNX importer tests (#1880)
authorIlya Churaev <ilya.churaev@intel.com>
Thu, 20 Aug 2020 15:46:34 +0000 (18:46 +0300)
committerGitHub <noreply@github.com>
Thu, 20 Aug 2020 15:46:34 +0000 (18:46 +0300)
inference-engine/tests/unit/frontends/onnx_import/onnx_importer_test.cpp

index 6b16ac7..baf7b75 100644 (file)
@@ -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";