/[escript]/trunk/pyvisi/test/python/run_datacollector.py
ViewVC logotype

Diff of /trunk/pyvisi/test/python/run_datacollector.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1137 by jongui, Wed Mar 28 04:14:13 2007 UTC revision 1138 by gross, Mon May 14 04:15:04 2007 UTC
# Line 2  from esys.pyvisi import DataCollector Line 2  from esys.pyvisi import DataCollector
2  from esys.pyvisi.constant import *  from esys.pyvisi.constant import *
3  import unittest  import unittest
4    
5  PYVISI_TEST_MESHES_PATH = "data_meshes/"  PYVISI_TEST_MESHES_PATH = "data_meshes"
6  FILE_2D = "interior_2D.xml"  FILE_2D = "interior_2D.xml"
7  FILE_3D = "interior_3D.xml"  FILE_3D = "interior_3D.xml"
8    
# Line 20  class TestSourceXml: Line 20  class TestSourceXml:
20    
21      def setFileName(self, file):      def setFileName(self, file):
22          self.data_collector.setFileName(file_name = \          self.data_collector.setFileName(file_name = \
23                  PYVISI_TEST_MESHES_PATH + file)                  os.path.join(PYVISI_TEST_MESHES_PATH, file))
24    
25      def setActiveScalar(self, s):      def setActiveScalar(self, s):
26          self.data_collector.setActiveScalar(scalar = s)          self.data_collector.setActiveScalar(scalar = s)

Legend:
Removed from v.1137  
changed lines
  Added in v.1138

  ViewVC Help
Powered by ViewVC 1.1.26