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""" |
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 |