Salome HOME
update to use salome test driver
[modules/paravis.git] / test / VisuPrs / ScalarMap_On_DeformedShape / A0.py
index 99f68f0f3f304a698f600b5e46c8be4b5f3f4ed5..7a748e7c54707f5c05e084b464baf99c5fa5e8e6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2015  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 import sys
 from paravistest import datadir, pictureext, get_picture_dir
 from presentations import CreatePrsForFile, PrsTypeEnum
-import paravis
-
-# Create presentations 
-myParavis = paravis.myParavis
 
 # Directory for saving snapshots
-picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A0") 
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A0")
 
 file = datadir + "fra.med"
 print " --------------------------------- "
 print "file ", file
 print " --------------------------------- "
 print "CreatePrsForFile..."
-CreatePrsForFile(myParavis, file, [PrsTypeEnum.DEFORMEDSHAPESCALARMAP], picturedir, pictureext)
+CreatePrsForFile(file, [PrsTypeEnum.DEFORMEDSHAPESCALARMAP], picturedir, pictureext)