Salome HOME
Fix tests in error if launched from GUI
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Wed, 29 Jan 2020 14:23:12 +0000 (15:23 +0100)
committervsr <vsr@opencascade.com>
Tue, 10 Mar 2020 13:35:26 +0000 (16:35 +0300)
tests/attractor.py
tests/attractor_edge_on_border.py
tests/attractor_point_outside_face.py
tests/quadrangles.py

index 78737462bb72c41fac79fe50e4c4e9770e2e399a..da0e62ba873980aa1fb7495be1de3a7bc220f180 100644 (file)
@@ -91,4 +91,4 @@ assert min_area_with_attractor < min_area_without_attractor
 assert min_area_with_attractor < 1
 
 if salome.sg.hasDesktop():
-  salome.sg.updateObjBrowser(True)
+  salome.sg.updateObjBrowser()
index da679b8e2c421a387836221ec943a93aaa9542f5..0de8960cf57d2a01480a44969391bef1078355e6 100644 (file)
@@ -99,4 +99,4 @@ assert min_area_with_attractor < min_area_without_attractor
 assert min_area_with_attractor < 1
 
 if salome.sg.hasDesktop():
-  salome.sg.updateObjBrowser(True)
+  salome.sg.updateObjBrowser()
index f42e5a30067730cd25440fc698e770661191d536..20337fa8c76b350c8b81ffae099a768d8aad9e33 100644 (file)
@@ -125,4 +125,4 @@ assert min_area_with_attractor < min_area_without_attractor
 assert min_area_with_attractor < 1
 
 if salome.sg.hasDesktop():
-  salome.sg.updateObjBrowser(True)
+  salome.sg.updateObjBrowser()
index 9854f21a8ab03c3049019815df880ba3019aa76f..bd637715757d5b0e1f1c9953fd22c1b813b4b44b 100644 (file)
@@ -101,4 +101,4 @@ assert Mesh_1.NbTriangles() > 0
 assert Mesh_1.NbQuadrangles() > Mesh_1.NbTriangles()
 
 if salome.sg.hasDesktop():
-  salome.sg.updateObjBrowser(True)
+  salome.sg.updateObjBrowser()