From: ouv Date: Wed, 2 Apr 2008 08:50:11 +0000 (+0000) Subject: Bug IPAL19413 - Qt4 porting: import salome_test fails X-Git-Tag: V5_0_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0cb73d8f2f09d74bcecb71dac03db694e580772d;p=modules%2Fkernel.git Bug IPAL19413 - Qt4 porting: import salome_test fails --- diff --git a/src/KERNEL_PY/salome_test.py b/src/KERNEL_PY/salome_test.py index d18c706e2..94d2b81f0 100755 --- a/src/KERNEL_PY/salome_test.py +++ b/src/KERNEL_PY/salome_test.py @@ -237,7 +237,10 @@ print ret smesh.Compute(mesh, box) sg.updateObjBrowser(1); -if sys.platform != "win32": +# SUPERVISOR module is not available since SALOME 5.0 version +defineSuperV = 0 + +if (defineSuperV != 0) & (sys.platform != "win32"): print print "============= Test Supervisor =============================" print