]> SALOME platform Git repositories - tools/sat.git/blobdiff - test/test.py
Salome HOME
Update the tests
[tools/sat.git] / test / test.py
index 39673e7ebc2b93c61cae27e8ea8fceaaccf91235..6c767d3cc2dba7f43ba4e5c43de4cb20603b0b4a 100644 (file)
 #  License along with this library; if not, write to the Free Software
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 
-import os, sys
+import os
+import sys
 
 # get execution path
 testdir = os.path.dirname(os.path.realpath(__file__))
-sys.path.append(os.path.join(testdir, '..', 'src'))
+sys.path.append(os.path.join(testdir, '..'))
 
-from salomeTools import salomeTools
+from salomeTools import Sat
 
-sat = salomeTools('--help')
+sat = Sat()
 sat.config('appli-test -v APPLICATION')
+
+sat2 = Sat("-oINTERNAL.sat_version='coucou'")
+sat2.config('appli-test -v INTERNAL.sat_version')