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

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

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

revision 1638 by bh, Fri Aug 22 18:19:14 2003 UTC revision 1640 by bh, Fri Aug 22 18:24:44 2003 UTC
# Line 384  class SaveSessionTest(unittest.TestCase, Line 384  class SaveSessionTest(unittest.TestCase,
384                               % os.path.join(os.pardir, os.pardir, "Data",                               % os.path.join(os.pardir, os.pardir, "Data",
385                                              "iceland", "political.dbf"))                                              "iceland", "political.dbf"))
386          self.compare_xml(written_contents, expected_contents)          self.compare_xml(written_contents, expected_contents)
387            self.validate_data(written_contents)
388    
389      def test_joined_table(self):      def test_joined_table(self):
390          """Test saving a session with joined table"""          """Test saving a session with joined table"""
# Line 461  class SaveSessionTest(unittest.TestCase, Line 462  class SaveSessionTest(unittest.TestCase,
462                  "shpfile": relative_filename(self.temp_dir(), shpfile)                  "shpfile": relative_filename(self.temp_dir(), shpfile)
463                  }                  }
464              self.compare_xml(written_contents, expected_contents)              self.compare_xml(written_contents, expected_contents)
465                self.validate_data(written_contents)
466          finally:          finally:
467              session.Destroy()              session.Destroy()
468              session = None              session = None

Legend:
Removed from v.1638  
changed lines
  Added in v.1640

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26