/[escript]/trunk/finley/test/python/run_visualization_interface.py
ViewVC logotype

Diff of /trunk/finley/test/python/run_visualization_interface.py

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

revision 797 by woo409, Mon Jun 26 13:12:56 2006 UTC revision 798 by gross, Fri Aug 4 01:05:36 2006 UTC
# Line 10  import unittest Line 10  import unittest
10  from esys.escript import *  from esys.escript import *
11  from esys.finley import ReadMesh  from esys.finley import ReadMesh
12    
13  FINLEY_TEST_MESH_PATH=os.environ['FINLEY_TEST_DATA']+"/data_meshes/"  try:
14         FINLEY_TEST_DATA=os.environ['FINLEY_TEST_DATA']
15    except KeyError:
16         FINLEY_TEST_DATA='.'
17    
18    try:
19         FINLEY_WORKDIR=os.environ['FINLEY_WORKDIR']
20    except KeyError:
21         FINLEY_WORKDIR='.'
22    
23    FINLEY_TEST_MESH_PATH=FINLEY_TEST_DATA+"/data_meshes/"
24  if os.name == "nt":  if os.name == "nt":
25     FINLEY_TEST_MESH_PATH = FINLEY_TEST_MESH_PATH+"win32/"     FINLEY_TEST_MESH_PATH = FINLEY_TEST_MESH_PATH+"win32/"
26  FINLEY_WORKDIR_PATH=os.environ['FINLEY_WORKDIR']+"/"  FINLEY_WORKDIR_PATH=FINLEY_WORKDIR+"/"
27    
28  class Test_VisualizationInterface(unittest.TestCase):  class Test_VisualizationInterface(unittest.TestCase):
29     def check_vtk(self,f,reference_f):     def check_vtk(self,f,reference_f):

Legend:
Removed from v.797  
changed lines
  Added in v.798

  ViewVC Help
Powered by ViewVC 1.1.26