/[thuban]/branches/WIP-pyshapelib-bramz/test/test_proj.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/test/test_proj.py

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

revision 1825 by bh, Tue Oct 14 15:21:17 2003 UTC revision 1827 by bh, Tue Oct 14 16:04:35 2003 UTC
# Line 146  class TestProjFile(unittest.TestCase, su Line 146  class TestProjFile(unittest.TestCase, su
146          for msg in [PROJECTION_ADDED, PROJECTION_REMOVED, PROJECTION_REPLACED]:          for msg in [PROJECTION_ADDED, PROJECTION_REMOVED, PROJECTION_REPLACED]:
147              self.proj_file.Subscribe(msg, self.subscribe_with_params, msg)              self.proj_file.Subscribe(msg, self.subscribe_with_params, msg)
148    
149        def tearDown(self):
150            self.clear_messages()
151            self.proj_file.Destroy()
152    
153      def test_add_remove(self):      def test_add_remove(self):
154          """Test ProjFile.Add() and ProjFile.Remove()"""          """Test ProjFile.Add() and ProjFile.Remove()"""
155          self.proj_file.Add(self.proj0)          self.proj_file.Add(self.proj0)
# Line 428  class TestProjFileWithInvalidParameters( Line 432  class TestProjFileWithInvalidParameters(
432    
433    
434  if __name__ == "__main__":  if __name__ == "__main__":
435      unittest.main()      support.run_tests()

Legend:
Removed from v.1825  
changed lines
  Added in v.1827

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26