Skip to content

Commit acff4a1

Browse files
committed
test
1 parent 361390f commit acff4a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bindings/python/tests/explicit/test-py-structural-model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ def add_faults(model, builder):
4141
if model.nb_faults() != 2:
4242
raise ValueError(
4343
"[Test] Number of faults in StructuralModel should be 2")
44-
if model.fault(fault1).name().value() != "fault1":
44+
if model.fault(fault1).name() != "fault1":
4545
raise ValueError("[Test] Wrong Fault name")
4646

4747
for fault in model.faults():
4848
if fault.name() != "unknown":
4949
builder.set_fault_name(fault.id(), "new_" + fault.name().value())
50-
if model.fault(fault1).name().value() != "new_fault1":
50+
if model.fault(fault1).name() != "new_fault1":
5151
raise ValueError("[Test] Wrong modified Fault name")
5252

5353

0 commit comments

Comments
 (0)