1036 |
"check": [(None, None)]}) |
"check": [(None, None)]}) |
1037 |
self.session = load_session(self.filename(), |
self.session = load_session(self.filename(), |
1038 |
shapefile_callback =s_cb.s_cb) |
shapefile_callback =s_cb.s_cb) |
|
self.session.Destroy() |
|
|
self.session = None |
|
1039 |
|
|
1040 |
def test_02_path_error_fix_from_list(self): |
def test_02_path_error_fix_from_list(self): |
1041 |
"""Test single file path error fix.""" |
"""Test single file path error fix.""" |
1046 |
}) |
}) |
1047 |
self.session = load_session(self.filename(), |
self.session = load_session(self.filename(), |
1048 |
shapefile_callback =s_cb.s_cb) |
shapefile_callback =s_cb.s_cb) |
|
self.session.Destroy() |
|
|
self.session = None |
|
1049 |
|
|
1050 |
def test_03_single_path_error_cancelled(self): |
def test_03_single_path_error_cancelled(self): |
1051 |
"""Test alternative path cancelled.""" |
"""Test alternative path cancelled.""" |
1072 |
}) |
}) |
1073 |
self.session = load_session(self.filename(), |
self.session = load_session(self.filename(), |
1074 |
shapefile_callback =s_cb.s_cb) |
shapefile_callback =s_cb.s_cb) |
|
self.session.Destroy() |
|
|
self.session = None |
|
1075 |
|
|
1076 |
def test_06_path_error_fix_from_list_fails(self): |
def test_06_path_error_fix_from_list_fails(self): |
1077 |
"""Test alternative path recovery from list.""" |
"""Test alternative path recovery from list.""" |
1085 |
self.assertRaises(IndexError, |
self.assertRaises(IndexError, |
1086 |
s_cb.s_cb, None, "search") |
s_cb.s_cb, None, "search") |
1087 |
|
|
|
self.session.Destroy() |
|
|
self.session = None |
|
1088 |
|
|
1089 |
|
|
1090 |
if __name__ == "__main__": |
if __name__ == "__main__": |