Skip to content

Commit 87c7117

Browse files
authored
Fix retro
1 parent b707bff commit 87c7117

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/test_plotter.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,10 @@ def test_plot_polyhedron():
812812

813813

814814
@pytest.mark.skipif(not HAS_PYVISTA, reason="This test requires pyvista")
815+
@pytest.mark.skipif(
816+
not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0,
817+
reason="Polyhedrons are supported starting server version 5.0",
818+
)
815819
def test_plotter_add_scoping(fluent_mixing_elbow_steady_state):
816820
mesh: core.MeshedRegion = core.operators.mesh.mesh_provider(
817821
data_sources=fluent_mixing_elbow_steady_state()
@@ -831,6 +835,10 @@ def test_plotter_add_scoping(fluent_mixing_elbow_steady_state):
831835

832836

833837
@pytest.mark.skipif(not HAS_PYVISTA, reason="This test requires pyvista")
838+
@pytest.mark.skipif(
839+
not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0,
840+
reason="Polyhedrons are supported starting server version 5.0",
841+
)
834842
def test_scoping_plot(fluent_mixing_elbow_steady_state):
835843
mesh: core.MeshedRegion = core.operators.mesh.mesh_provider(
836844
data_sources=fluent_mixing_elbow_steady_state()
@@ -844,6 +852,10 @@ def test_scoping_plot(fluent_mixing_elbow_steady_state):
844852

845853

846854
@pytest.mark.skipif(not HAS_PYVISTA, reason="This test requires pyvista")
855+
@pytest.mark.skipif(
856+
not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0,
857+
reason="Polyhedrons are supported starting server version 5.0",
858+
)
847859
def test_scopings_container_plot(fluent_mixing_elbow_steady_state):
848860
mesh: core.MeshedRegion = core.operators.mesh.mesh_provider(
849861
data_sources=fluent_mixing_elbow_steady_state()

0 commit comments

Comments
 (0)