write test output to tmp
This commit is contained in:
parent
4724eaaf9e
commit
72fd84f872
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -24,6 +24,7 @@ utils/shapeindex/shapeindex
|
||||||
utils/ogrindex/ogrindex
|
utils/ogrindex/ogrindex
|
||||||
utils/pgsql2sqlite/pgsql2sqlite
|
utils/pgsql2sqlite/pgsql2sqlite
|
||||||
utils/svg2png/svg2png
|
utils/svg2png/svg2png
|
||||||
|
utils/nik2img/nik2img
|
||||||
demo/python/demo*
|
demo/python/demo*
|
||||||
demo/python/map.xml
|
demo/python/map.xml
|
||||||
tests/cpp_tests/svg_renderer_tests/background_color_test
|
tests/cpp_tests/svg_renderer_tests/background_color_test
|
||||||
|
|
|
@ -778,13 +778,13 @@ if 'postgis' in mapnik.DatasourceCache.plugin_names() \
|
||||||
|
|
||||||
# We expect this to trigger a PSQL error
|
# We expect this to trigger a PSQL error
|
||||||
try:
|
try:
|
||||||
mapnik.render_to_file(map1,'world.png', 'png')
|
mapnik.render_to_file(map1,'/tmp/mapnik-postgis-test-map1.png', 'png')
|
||||||
# Test must fail if error was not raised just above
|
# Test must fail if error was not raised just above
|
||||||
eq_(False,True)
|
eq_(False,True)
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
pass
|
pass
|
||||||
# This used to raise an exception before correction of issue 2042
|
# This used to raise an exception before correction of issue 2042
|
||||||
mapnik.render_to_file(map2,'world2.png', 'png')
|
mapnik.render_to_file(map2,'/tmp/mapnik-postgis-test-map2.png', 'png')
|
||||||
|
|
||||||
def test_handling_of_zm_dimensions():
|
def test_handling_of_zm_dimensions():
|
||||||
ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME,
|
ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME,
|
||||||
|
|
Loading…
Add table
Reference in a new issue