7 |
|
|
8 |
""" |
""" |
9 |
Test loading a thuban session from a file |
Test loading a thuban session from a file |
10 |
|
|
11 |
|
The tests in this file (test_load.py) are always be the tests for the |
12 |
|
current version of the thuban file format. Tests for older versions can |
13 |
|
be found in the version specific test modules, e.g. test_load_0_2 for |
14 |
|
files created by Thuban 0.2. |
15 |
|
|
16 |
|
Maintenance of the test cases: |
17 |
|
|
18 |
|
When during a development period the file format is changed with respect |
19 |
|
to the last released version for the first, the tests here should be |
20 |
|
copied to the version specific test file. |
21 |
""" |
""" |
22 |
|
|
23 |
__version__ = "$Revision$" |
__version__ = "$Revision$" |
268 |
''' |
''' |
269 |
|
|
270 |
def test(self): |
def test(self): |
271 |
"""Load a Thuban 0.2 session with a map and classified layers.""" |
"""Load a Thuban session with a map and classified layers.""" |
272 |
session = load_session(self.filename()) |
session = load_session(self.filename()) |
273 |
self.session = session |
self.session = session |
274 |
|
|