Skip to content

Commit 8280fe5

Browse files
committed
supress deprecated test
1 parent 72b6a93 commit 8280fe5

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

test_link/test_law_beta.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -154,28 +154,3 @@ def test_law_beta_onCurve_2(capfd):
154154
assert( abs(l2_norme(n2, n17) - 0.0000594519721850694) < eps )
155155

156156
os.remove(filename)
157-
158-
159-
160-
# This test case shows that the "Inverser le sens" option doesn't work when the
161-
# beta law is used with a target first mesh edge size. To show this, we use the
162-
# same test as "test_law_beta", which is successful, and the only
163-
# difference is we turn false the direction option.
164-
def test_law_beta_fail(capfd):
165-
ctx = Mgx3D.getStdContext()
166-
ctx.clearSession() # Clean the session after the previous test
167-
168-
# chosen first mesh edge size
169-
s1_ar0000 = 0.005
170-
171-
# Création d'une boite avec une topologie
172-
ctx.getTopoManager().newBoxWithTopo (Mgx3D.Point(0, 0, 0), Mgx3D.Point(1, 1, 1), 10, 10, 10)
173-
174-
# Changement de discrétisation pour les arêtes Ar0000
175-
emp = Mgx3D.EdgeMeshingPropertyBeta(10, 1.1, False, True, s1_ar0000)
176-
ctx.getTopoManager().setMeshingProperty (emp, ["Ar0000"])
177-
with pytest.raises(RuntimeError) as excinfo:
178-
# Création du maillage pour tous les blocs
179-
ctx.getMeshManager().newAllBlocksMesh()
180-
expected = "EdgeMeshingPropertyBeta, on ne peut pas trouver de beta"
181-
assert expected in str(excinfo.value)

0 commit comments

Comments
 (0)