/[escript]/trunk/bruce/test/python/run_bruce.py
ViewVC logotype

Diff of /trunk/bruce/test/python/run_bruce.py

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

revision 706 by gross, Sat Apr 8 16:13:02 2006 UTC revision 798 by gross, Fri Aug 4 01:05:36 2006 UTC
# Line 15  import os Line 15  import os
15  import sys  import sys
16  import unittest  import unittest
17    
18    try:
19         BRUCE_WORKDIR=os.environ['BRUCE_WORKDIR']
20    except KeyError:
21         BRUCE_WORKDIR='.'
22    
23  from esys.escript import *  from esys.escript import *
24  from esys.bruce import *  from esys.bruce import *
25    
# Line 82  class bruceTestCase(unittest.TestCase): Line 87  class bruceTestCase(unittest.TestCase):
87      assert (rectangle.getDim()==2)      assert (rectangle.getDim()==2)
88    
89    def testSaveVTK(self):    def testSaveVTK(self):
90      filename = os.environ['BRUCE_WORKDIR']+"/testVTK.xml"      filename = BRUCE_WORKDIR+"/testVTK.xml"
91      fs1 = ContinuousFunction(self.b)      fs1 = ContinuousFunction(self.b)
92      fs2 = Function(self.b)      fs2 = Function(self.b)
93      testData1 = Scalar(1.0, fs1)      testData1 = Scalar(1.0, fs1)

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

  ViewVC Help
Powered by ViewVC 1.1.26