Salome HOME
Update tests to ParaView 5.0 (merge from master)
[modules/paravis.git] / test / VisuPrs / ScalarMap / E8.py
index e19bcdbe1b8519fcb5eed96bf58a787ea27c2801..2ad7718721f91b83c14aa2ec6274c616ff36c6a4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2015  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2016  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 pvserver as paravis
-
-# Create presentations 
-myParavis = paravis.myParavis
 
 # Directory for saving snapshots
-picturedir = get_picture_dir("ScalarMap/E8") 
+picturedir = get_picture_dir("ScalarMap/E8")
 
 file = datadir + "KCOUPLEX1.med"
 print " --------------------------------- "
 print "file ", file
 print " --------------------------------- "
 print "CreatePrsForFile..."
-CreatePrsForFile(myParavis, file, [PrsTypeEnum.SCALARMAP], picturedir, pictureext)
+CreatePrsForFile(file, [PrsTypeEnum.SCALARMAP], picturedir, pictureext)