/[thuban]
ViewVC logotype

Revision 1555


Jump to revision: Previous Next
Author: bh
Date: Thu Aug 7 15:41:05 2003 UTC (21 years, 7 months ago)
Changed paths: 4
Log Message:
* test/support.py (SkipTest, ThubanTestResult, ThubanTestRunner)
(ThubanTestProgram): New classes that extend the respective
classes from unittest. These new version support skipping tests
under certain expected conditions. In the Thuban test suite we
uses this for tests that require the optional gdal support.
(run_tests): Use ThubanTestProgram instead of the unittest.main()

* test/runtests.py (main): Use the new ThubanTestRunner instead of
the normal one from unittest

* test/test_layer.py (TestLayer.test_raster_layer): If this test
is not run because gdal support isn't available report this to the
runner.

* test/test_baserenderer.py
(TestBaseRenderer.test_raster_no_projection): Do not run this test
if gdal support isn't available and report this to the runner.


Changed paths

Path Details
Directorytrunk/thuban/test/runtests.py modified , text changed
Directorytrunk/thuban/test/support.py modified , text changed
Directorytrunk/thuban/test/test_baserenderer.py modified , text changed
Directorytrunk/thuban/test/test_layer.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26