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

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

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

revision 1148 by jongui, Wed May 16 22:45:33 2007 UTC revision 1158 by jongui, Tue May 22 04:24:01 2007 UTC
# Line 26  Y_SIZE = 400 Line 26  Y_SIZE = 400
26  JPG_RENDERER = Renderer.OFFLINE_JPG  JPG_RENDERER = Renderer.OFFLINE_JPG
27    
28  class TestLogoWithLazyEvaluation:  class TestLogoWithLazyEvaluation:
     def tearDown(self):  
         self.scene  
   
29      def render(self, file):      def render(self, file):
30          self.scene.render(image_name = \          self.scene.render(image_name = \
31                  os.path.join(PYVISI_TEST_LOGO_IMAGES_PATH, file))                  os.path.join(PYVISI_TEST_LOGO_IMAGES_PATH, file))
# Line 37  class TestLogoWithLazyEvaluation: Line 34  class TestLogoWithLazyEvaluation:
34                  file))[ST_SIZE] > MIN_IMAGE_SIZE)                  file))[ST_SIZE] > MIN_IMAGE_SIZE)
35    
36  class TestLogo(unittest.TestCase, TestLogoWithLazyEvaluation):  class TestLogo(unittest.TestCase, TestLogoWithLazyEvaluation):
37        def tearDown(self):
38            del self.scene
39    
40      def testLogo(self):      def testLogo(self):
41    
42          # Create a Scene.          # Create a Scene.

Legend:
Removed from v.1148  
changed lines
  Added in v.1158

  ViewVC Help
Powered by ViewVC 1.1.26