Salome HOME
Copyrights update 2015.
[modules/paravis.git] / test / VisuPrs / bugs / C6.py
index 7db0958cb8357a3b9f74e01c188116a49a5e260b..88b1facbb5e3015f7c4a04dd4de5600fa9a62eff 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
@@ -23,7 +23,7 @@ import sys
 import os
 from paravistest import datadir, pictureext, get_picture_dir
 from presentations import *
-import paravis
+import pvserver as paravis
 import pvsimple
 
 my_paravis = paravis.myParavis
@@ -34,7 +34,7 @@ picturedir = get_picture_dir("bugs/C6")
 med_file_path = datadir + "relachement_brutal_sans_dudg_gauss.med"
 
 print 'Importing "relachement_brutal_sans_dudg_gauss.med"....',
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None: