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 |
|
|
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 |
|
|
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)], |