Salome HOME
projects
/
plugins
/
blsurfplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
34c94f1
)
Fix tests in error if launched from GUI
author
Christophe Bourcier
<christophe.bourcier@cea.fr>
Wed, 29 Jan 2020 14:23:12 +0000
(15:23 +0100)
committer
vsr
<vsr@opencascade.com>
Tue, 10 Mar 2020 13:35:26 +0000
(16:35 +0300)
tests/attractor.py
patch
|
blob
|
history
tests/attractor_edge_on_border.py
patch
|
blob
|
history
tests/attractor_point_outside_face.py
patch
|
blob
|
history
tests/quadrangles.py
patch
|
blob
|
history
diff --git
a/tests/attractor.py
b/tests/attractor.py
index 78737462bb72c41fac79fe50e4c4e9770e2e399a..da0e62ba873980aa1fb7495be1de3a7bc220f180 100644
(file)
--- 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():
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 da679b8e2c421a387836221ec943a93aaa9542f5..0de8960cf57d2a01480a44969391bef1078355e6 100644
(file)
--- 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():
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 f42e5a30067730cd25440fc698e770661191d536..20337fa8c76b350c8b81ffae099a768d8aad9e33 100644
(file)
--- 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():
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 9854f21a8ab03c3049019815df880ba3019aa76f..bd637715757d5b0e1f1c9953fd22c1b813b4b44b 100644
(file)
--- 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():
assert Mesh_1.NbQuadrangles() > Mesh_1.NbTriangles()
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
True
)
+ salome.sg.updateObjBrowser()