Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Skip ONNX layer test cases that depend on openvino.tools.mo (#28199)

Alina Kladievac14134a40e30
diff --git a/tests/layer_tests/onnx_tests/test_abs.py b/tests/layer_tests/onnx_tests/test_abs.py
index 9a82929ea35..71e509faef3 100644
--- a/tests/layer_tests/onnx_tests/test_abs.py
+++ b/tests/layer_tests/onnx_tests/test_abs.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_and.py b/tests/layer_tests/onnx_tests/test_and.py
index ca5d21a42fe..195ace1dadf 100644
--- a/tests/layer_tests/onnx_tests/test_and.py
+++ b/tests/layer_tests/onnx_tests/test_and.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_argmax.py b/tests/layer_tests/onnx_tests/test_argmax.py
index 604df5e7e69..80d7568e9e8 100644
--- a/tests/layer_tests/onnx_tests/test_argmax.py
+++ b/tests/layer_tests/onnx_tests/test_argmax.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_ceil.py b/tests/layer_tests/onnx_tests/test_ceil.py
index b7558630ac1..ea7ea10abbd 100644
--- a/tests/layer_tests/onnx_tests/test_ceil.py
+++ b/tests/layer_tests/onnx_tests/test_ceil.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_clip.py b/tests/layer_tests/onnx_tests/test_clip.py
index dbce4519303..3cb3ba250a1 100644
--- a/tests/layer_tests/onnx_tests/test_clip.py
+++ b/tests/layer_tests/onnx_tests/test_clip.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_concat.py b/tests/layer_tests/onnx_tests/test_concat.py
index 8627f3b198d..602b6a69644 100644
--- a/tests/layer_tests/onnx_tests/test_concat.py
+++ b/tests/layer_tests/onnx_tests/test_concat.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_conv.py b/tests/layer_tests/onnx_tests/test_conv.py
index b7f9729141c..202d6af2915 100644
--- a/tests/layer_tests/onnx_tests/test_conv.py
+++ b/tests/layer_tests/onnx_tests/test_conv.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_cumsum.py b/tests/layer_tests/onnx_tests/test_cumsum.py
index 1e197de490d..486b1f50835 100644
--- a/tests/layer_tests/onnx_tests/test_cumsum.py
+++ b/tests/layer_tests/onnx_tests/test_cumsum.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_dequantize_linear.py b/tests/layer_tests/onnx_tests/test_dequantize_linear.py
index 9090f3a8299..319030590a3 100644
--- a/tests/layer_tests/onnx_tests/test_dequantize_linear.py
+++ b/tests/layer_tests/onnx_tests/test_dequantize_linear.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_elu.py b/tests/layer_tests/onnx_tests/test_elu.py
index dbffc32d09c..9f0321ec9a6 100644
--- a/tests/layer_tests/onnx_tests/test_elu.py
+++ b/tests/layer_tests/onnx_tests/test_elu.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_embedding_bag.py b/tests/layer_tests/onnx_tests/test_embedding_bag.py
index a18a59b9752..54d940c01fb 100644
--- a/tests/layer_tests/onnx_tests/test_embedding_bag.py
+++ b/tests/layer_tests/onnx_tests/test_embedding_bag.py
@@ -5,6 +5,8 @@ import os
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
import torch
import torch.nn as nn
from common.layer_test_class import CommonLayerTest, check_ir_version
diff --git a/tests/layer_tests/onnx_tests/test_floor.py b/tests/layer_tests/onnx_tests/test_floor.py
index 87ad058c510..5076befc414 100644
--- a/tests/layer_tests/onnx_tests/test_floor.py
+++ b/tests/layer_tests/onnx_tests/test_floor.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_gather.py b/tests/layer_tests/onnx_tests/test_gather.py
index a45d5b4f4a9..9380de31c6d 100644
--- a/tests/layer_tests/onnx_tests/test_gather.py
+++ b/tests/layer_tests/onnx_tests/test_gather.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_hard_sigmoid.py b/tests/layer_tests/onnx_tests/test_hard_sigmoid.py
index 12986c590d4..a62ab2a7fc5 100644
--- a/tests/layer_tests/onnx_tests/test_hard_sigmoid.py
+++ b/tests/layer_tests/onnx_tests/test_hard_sigmoid.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_identity.py b/tests/layer_tests/onnx_tests/test_identity.py
index a86c0e2a687..e58e272de49 100644
--- a/tests/layer_tests/onnx_tests/test_identity.py
+++ b/tests/layer_tests/onnx_tests/test_identity.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_leaky_relu.py b/tests/layer_tests/onnx_tests/test_leaky_relu.py
index 3a12bfcd92c..cff9cd87b59 100644
--- a/tests/layer_tests/onnx_tests/test_leaky_relu.py
+++ b/tests/layer_tests/onnx_tests/test_leaky_relu.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_log.py b/tests/layer_tests/onnx_tests/test_log.py
index db0a329aa09..53e2c42505b 100644
--- a/tests/layer_tests/onnx_tests/test_log.py
+++ b/tests/layer_tests/onnx_tests/test_log.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_logsoftmax.py b/tests/layer_tests/onnx_tests/test_logsoftmax.py
index a81b20402d5..057376d6ed4 100644
--- a/tests/layer_tests/onnx_tests/test_logsoftmax.py
+++ b/tests/layer_tests/onnx_tests/test_logsoftmax.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_lrn.py b/tests/layer_tests/onnx_tests/test_lrn.py
index 0e8f34129a3..1c1cf62d5d1 100644
--- a/tests/layer_tests/onnx_tests/test_lrn.py
+++ b/tests/layer_tests/onnx_tests/test_lrn.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_neg.py b/tests/layer_tests/onnx_tests/test_neg.py
index d19991cb8a6..98f6acd728f 100644
--- a/tests/layer_tests/onnx_tests/test_neg.py
+++ b/tests/layer_tests/onnx_tests/test_neg.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_non_zero.py b/tests/layer_tests/onnx_tests/test_non_zero.py
index 464304651a2..a2035b4ab27 100644
--- a/tests/layer_tests/onnx_tests/test_non_zero.py
+++ b/tests/layer_tests/onnx_tests/test_non_zero.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_not.py b/tests/layer_tests/onnx_tests/test_not.py
index 05a6c7ffbb2..1caf8e2e7a7 100644
--- a/tests/layer_tests/onnx_tests/test_not.py
+++ b/tests/layer_tests/onnx_tests/test_not.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_or.py b/tests/layer_tests/onnx_tests/test_or.py
index 285c90765d6..6db35aff2f5 100644
--- a/tests/layer_tests/onnx_tests/test_or.py
+++ b/tests/layer_tests/onnx_tests/test_or.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_pad.py b/tests/layer_tests/onnx_tests/test_pad.py
index abacc530d93..161db0685b6 100644
--- a/tests/layer_tests/onnx_tests/test_pad.py
+++ b/tests/layer_tests/onnx_tests/test_pad.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_pooling.py b/tests/layer_tests/onnx_tests/test_pooling.py
index 85e7fc883fc..2bc2251f8ae 100644
--- a/tests/layer_tests/onnx_tests/test_pooling.py
+++ b/tests/layer_tests/onnx_tests/test_pooling.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_prelu.py b/tests/layer_tests/onnx_tests/test_prelu.py
index f20e89b7006..59a1e8f4f41 100644
--- a/tests/layer_tests/onnx_tests/test_prelu.py
+++ b/tests/layer_tests/onnx_tests/test_prelu.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_reduce.py b/tests/layer_tests/onnx_tests/test_reduce.py
index 58141e18260..46b4008c4e6 100644
--- a/tests/layer_tests/onnx_tests/test_reduce.py
+++ b/tests/layer_tests/onnx_tests/test_reduce.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_reduce_lp.py b/tests/layer_tests/onnx_tests/test_reduce_lp.py
index 2ff4511ef87..3cf2f5e133b 100644
--- a/tests/layer_tests/onnx_tests/test_reduce_lp.py
+++ b/tests/layer_tests/onnx_tests/test_reduce_lp.py
@@ -5,6 +5,8 @@ import platform
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_relu.py b/tests/layer_tests/onnx_tests/test_relu.py
index ce597920923..520749ed948 100644
--- a/tests/layer_tests/onnx_tests/test_relu.py
+++ b/tests/layer_tests/onnx_tests/test_relu.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_reshape.py b/tests/layer_tests/onnx_tests/test_reshape.py
index 637beeb4388..28eb339af52 100644
--- a/tests/layer_tests/onnx_tests/test_reshape.py
+++ b/tests/layer_tests/onnx_tests/test_reshape.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_resize.py b/tests/layer_tests/onnx_tests/test_resize.py
index 4d28afdb50f..36a808fa859 100644
--- a/tests/layer_tests/onnx_tests/test_resize.py
+++ b/tests/layer_tests/onnx_tests/test_resize.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_roi_align.py b/tests/layer_tests/onnx_tests/test_roi_align.py
index 4cd49c50c20..d5cedf4e1a0 100644
--- a/tests/layer_tests/onnx_tests/test_roi_align.py
+++ b/tests/layer_tests/onnx_tests/test_roi_align.py
@@ -5,6 +5,8 @@ import platform
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
from unit_tests.utils.graph import build_graph
diff --git a/tests/layer_tests/onnx_tests/test_scatter.py b/tests/layer_tests/onnx_tests/test_scatter.py
index 578300e144b..baaa0392553 100644
--- a/tests/layer_tests/onnx_tests/test_scatter.py
+++ b/tests/layer_tests/onnx_tests/test_scatter.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_sigmoid.py b/tests/layer_tests/onnx_tests/test_sigmoid.py
index 5dcb3e8f1b1..db055a6d903 100644
--- a/tests/layer_tests/onnx_tests/test_sigmoid.py
+++ b/tests/layer_tests/onnx_tests/test_sigmoid.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_sign.py b/tests/layer_tests/onnx_tests/test_sign.py
index 07f4f169a7b..70c0ffcc003 100644
--- a/tests/layer_tests/onnx_tests/test_sign.py
+++ b/tests/layer_tests/onnx_tests/test_sign.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_softmax.py b/tests/layer_tests/onnx_tests/test_softmax.py
index c4d9d600276..390b1a89454 100644
--- a/tests/layer_tests/onnx_tests/test_softmax.py
+++ b/tests/layer_tests/onnx_tests/test_softmax.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_softplus.py b/tests/layer_tests/onnx_tests/test_softplus.py
index cdcbbbf3e8e..b0127c0dcf0 100644
--- a/tests/layer_tests/onnx_tests/test_softplus.py
+++ b/tests/layer_tests/onnx_tests/test_softplus.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_softsign.py b/tests/layer_tests/onnx_tests/test_softsign.py
index 30ca27402c7..75043b57b80 100644
--- a/tests/layer_tests/onnx_tests/test_softsign.py
+++ b/tests/layer_tests/onnx_tests/test_softsign.py
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_sqrt.py b/tests/layer_tests/onnx_tests/test_sqrt.py
index 9c4733a68cd..24dbbcac659 100644
--- a/tests/layer_tests/onnx_tests/test_sqrt.py
+++ b/tests/layer_tests/onnx_tests/test_sqrt.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_trigonometry.py b/tests/layer_tests/onnx_tests/test_trigonometry.py
index 563b63b1e56..99651091ea2 100644
--- a/tests/layer_tests/onnx_tests/test_trigonometry.py
+++ b/tests/layer_tests/onnx_tests/test_trigonometry.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_where.py b/tests/layer_tests/onnx_tests/test_where.py
index fb358a2ced8..1bf845340b3 100644
--- a/tests/layer_tests/onnx_tests/test_where.py
+++ b/tests/layer_tests/onnx_tests/test_where.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model
diff --git a/tests/layer_tests/onnx_tests/test_xor.py b/tests/layer_tests/onnx_tests/test_xor.py
index 2790a31784f..e7f0c11f836 100644
--- a/tests/layer_tests/onnx_tests/test_xor.py
+++ b/tests/layer_tests/onnx_tests/test_xor.py
@@ -3,6 +3,8 @@
import numpy as np
import pytest
+pytest.importorskip("openvino.tools.mo", reason="Ticket - 157136")
+
from common.layer_test_class import check_ir_version
from common.onnx_layer_test_class import OnnxRuntimeLayerTest, onnx_make_model