@@ -69,11 +69,7 @@ def test_body_tessellate(modeler: Modeler):
6969 blocks_2 = body_2 .tessellate ()
7070 assert "MultiBlock" in str (blocks_2 )
7171 assert blocks_2 .n_blocks == 3
72- if modeler .client .backend_type not in (
73- BackendType .LINUX_SERVICE ,
74- BackendType .CORE_LINUX ,
75- BackendType .CORE_WINDOWS ,
76- ):
72+ if modeler .client .backend_type != BackendType .LINUX_SERVICE :
7773 assert blocks_2 .bounds == pytest .approx (
7874 [0.019999999999999997 , 0.04 , 0.020151922469877917 , 0.03984807753012208 , 0.0 , 0.03 ],
7975 rel = 1e-6 ,
@@ -90,11 +86,7 @@ def test_body_tessellate(modeler: Modeler):
9086
9187 # Tessellate the body merging the individual faces
9288 mesh_2 = body_2 .tessellate (merge = True )
93- if modeler .client .backend_type not in (
94- BackendType .LINUX_SERVICE ,
95- BackendType .CORE_LINUX ,
96- BackendType .CORE_WINDOWS ,
97- ):
89+ if modeler .client .backend_type != BackendType .LINUX_SERVICE :
9890 assert "PolyData" in str (mesh_2 )
9991 assert mesh_2 .n_cells == 72
10092 assert mesh_2 .n_points == 76
@@ -143,11 +135,7 @@ def test_component_tessellate(modeler: Modeler):
143135 mesh = comp .tessellate ()
144136 comp .plot ()
145137 assert "PolyData" in str (mesh )
146- if modeler .client .backend_type not in (
147- BackendType .LINUX_SERVICE ,
148- BackendType .CORE_LINUX ,
149- BackendType .CORE_WINDOWS ,
150- ):
138+ if modeler .client .backend_type != BackendType .LINUX_SERVICE :
151139 assert mesh .n_cells == 3280
152140 assert mesh .n_faces == 3280
153141 assert mesh .n_arrays == 0
0 commit comments