From b56b124fe677ffd785e6ae895aea3ce53ac8e14c Mon Sep 17 00:00:00 2001 From: Maxim Vafin Date: Mon, 16 Jan 2023 12:16:49 +0100 Subject: [PATCH] Fix mock FE test (#108) --- src/bindings/python/tests/test_frontend/test_frontendmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/python/tests/test_frontend/test_frontendmanager.py b/src/bindings/python/tests/test_frontend/test_frontendmanager.py index 43bf0ba8e8fc7c..50e73fe509f053 100644 --- a/src/bindings/python/tests/test_frontend/test_frontendmanager.py +++ b/src/bindings/python/tests/test_frontend/test_frontendmanager.py @@ -99,7 +99,7 @@ def __str__(self): fe = fem.load_by_framework(framework=MOCK_PY_FRONTEND_NAME) assert fe is not None with pytest.raises(RuntimeError) as e: - fe.load(TestClass()) + fe.load(str(TestClass())) assert "Path: 'test class' does not exist. Please provide valid model's path either as a string, bytes or pathlib.Path" in str(e.value)