From: Christophe Bourcier Date: Wed, 29 Jan 2020 14:23:12 +0000 (+0100) Subject: Fix tests in error if launched from GUI X-Git-Tag: V9_5_0a2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=50ce70c439fca1bae67cc329f0b163086dbb52f2;p=plugins%2Fblsurfplugin.git Fix tests in error if launched from GUI --- diff --git a/tests/attractor.py b/tests/attractor.py index 7873746..da0e62b 100644 --- a/tests/attractor.py +++ b/tests/attractor.py @@ -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() diff --git a/tests/attractor_edge_on_border.py b/tests/attractor_edge_on_border.py index da679b8..0de8960 100644 --- a/tests/attractor_edge_on_border.py +++ b/tests/attractor_edge_on_border.py @@ -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() diff --git a/tests/attractor_point_outside_face.py b/tests/attractor_point_outside_face.py index f42e5a3..20337fa 100644 --- a/tests/attractor_point_outside_face.py +++ b/tests/attractor_point_outside_face.py @@ -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() diff --git a/tests/quadrangles.py b/tests/quadrangles.py index 9854f21..bd63771 100644 --- a/tests/quadrangles.py +++ b/tests/quadrangles.py @@ -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()