Module: safe_qgis.test_map
Tests for map creation in QGIS plugin.
-
class safe_qgis.test_map.MapTest(methodName='runTest')[source]
Test the InaSAFE Map generator
-
Xtest_renderTemplate(*args, **kwargs)[source]
Test that load template works
-
setUp()[source]
Setup fixture run before each tests
-
test_getMapTitle()[source]
Getting the map title from the keywords
-
test_handleMissingMapTitle()[source]
Missing map title from the keywords fails gracefully
-
test_printToPdf()[source]
Test making a pdf of the map - this is the most typical use of map.
-
test_renderComposition()[source]
Test making an image of the map only.
-
test_windowsDrawingArtifacts()[source]
Test that windows rendering does not make artifacts
This module forms part of the InaSAFE tool.