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

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

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

revision 1109 by jongui, Fri Mar 30 02:44:42 2007 UTC revision 1110 by jongui, Thu Apr 19 05:24:28 2007 UTC
# Line 30  class TestImage: Line 30  class TestImage:
30          self.failUnless(os.stat(PYVISI_TEST_IMAGE_IMAGES_PATH + \          self.failUnless(os.stat(PYVISI_TEST_IMAGE_IMAGES_PATH + \
31                  file)[ST_SIZE] > MIN_IMAGE_SIZE)                  file)[ST_SIZE] > MIN_IMAGE_SIZE)
32    
33  class TestImage(unittest.TestCase, TestImage):  class TestImageOnAMap(unittest.TestCase, TestImage):
34      def setUp(self):      def setUp(self):
35          self.scene = \          self.scene = \
36                  Scene(renderer = JPG_RENDERER, num_viewport = 1,                  Scene(renderer = JPG_RENDERER, num_viewport = 1,
# Line 63  class TestImage(unittest.TestCase, TestI Line 63  class TestImage(unittest.TestCase, TestI
63    
64  if __name__ == '__main__':  if __name__ == '__main__':
65      suite = unittest.TestSuite()      suite = unittest.TestSuite()
66      suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestImage))      suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestImageOnAMap))
67      unittest.TextTestRunner(verbosity=2).run(suite)      unittest.TextTestRunner(verbosity=2).run(suite)
68    

Legend:
Removed from v.1109  
changed lines
  Added in v.1110

  ViewVC Help
Powered by ViewVC 1.1.26