Log of /branches/WIP-pyshapelib-bramz/Extensions/wms/test/test_ogclib.py
Parent Directory
|
Revision Log
Revision
2116 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 19 16:57:31 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test/test_ogclib.py
File length: 8989 byte(s)
Diff to
previous 2113
Several improvements:
. Moved path detection and adding into a module of its own,
adjustpath, which exports thubandir as main Thuban directory.
. Reorganised the module in order to support the SkipTest feature for
Thuban test cases.
- Adjusted the error handling for importing the ogclib from the
PyOGCLib package.
- The test class is no longer a specialisation of WMSClient, but
contains an instance of this particular class and uses its
methods instead.
- The special setUp() method will check whether importing PyOGCLib
worked by calling the external function skip_if_no_ogclib() and
also create the WMSClient instance.
- Call support.run_tests() instead of unittest.main().
Revision
2113 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 18 17:13:28 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test/test_ogclib.py
File length: 8802 byte(s)
Diff to
previous 2112
Added legacy code to add the main Thuban directory to the path in
order to be able to import random modules. Adjusted the PyOGCLib
detection to reuse the information gathered. Also added a note about
the PYTHONPATH environment variable. This should ensure that the test
program can now be run from outside the test directory as well.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.