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

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

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

revision 2456 by frank, Wed Dec 15 09:44:34 2004 UTC revision 2552 by jonathan, Fri Jan 28 15:54:00 2005 UTC
# Line 53  from Thuban.Model.table import DBFTable, Line 53  from Thuban.Model.table import DBFTable,
53  from Thuban.Model.label import ALIGN_CENTER, ALIGN_TOP, ALIGN_BOTTOM, \  from Thuban.Model.label import ALIGN_CENTER, ALIGN_TOP, ALIGN_BOTTOM, \
54       ALIGN_LEFT, ALIGN_RIGHT, ALIGN_BASELINE       ALIGN_LEFT, ALIGN_RIGHT, ALIGN_BASELINE
55    
   
56  def filenames_equal(name1, name2):  def filenames_equal(name1, name2):
57      """Return true if the filenames name1 and name2 are equal.      """Return true if the filenames name1 and name2 are equal.
58    
# Line 124  class LoadSessionTest(support.FileLoadTe Line 123  class LoadSessionTest(support.FileLoadTe
123                  print a != b and "***************" or ""                  print a != b and "***************" or ""
124                  print a                  print a
125                  print b                  print b
126    
127          self.assertEquals(el1, el2,          self.assertEquals(el1, el2,
128                            "loaded file not equivalent to the saved file")                            "loaded file not equivalent to the saved file")
129    
# Line 1045  class TestAltPath(LoadSessionTest): Line 1045  class TestAltPath(LoadSessionTest):
1045    
1046      def test_01_single_path_error_fix(self):      def test_01_single_path_error_fix(self):
1047          """Test single file path error fix."""          """Test single file path error fix."""
           
         eq = self.assertEquals  
           
1048          # The usual initial case          # The usual initial case
1049          s_cb = Shapefile_CallBack({          s_cb = Shapefile_CallBack({
1050                      "search": [("../Data/iceland/roads-line.shp",0)],                      "search": [("../Data/iceland/roads-line.shp",0)],

Legend:
Removed from v.2456  
changed lines
  Added in v.2552

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26