Module: safe_qgis.test_utilities

class safe_qgis.test_utilities.UtilitiesTest(methodName='runTest')[source]

Tests for reading and writing of raster and vector data

test_getLayerAttributeNames()[source]

Test we can get the correct attributes back

test_getQgisVersion()[source]

Test we can get the version of QGIS

test_humaniseSeconds()[source]

Test that humanise seconds works.

test_impactLayerAttribution()[source]

Test we get an attribution html snippet nicely for impact layers.

test_isLayerPolygonal()[source]

Test we can get the correct attributes back

test_issue121()[source]

Test that point symbol size can be set from style (issue 121). .. seealso:: https://github.com/AIFDR/inasafe/issues/121

test_issue126()[source]

Test that non integer transparency ranges fail gracefully. .. seealso:: https://github.com/AIFDR/inasafe/issues/126

test_issue157()[source]

Verify that we get the error class name back - issue #157 .. seealso:: https://github.com/AIFDR/inasafe/issues/121

test_issue230()[source]

Verify that we give informative errors when style is not correct .. seealso:: https://github.com/AIFDR/inasafe/issues/230

test_localisedAttribution(*args, **kwargs)[source]

Test we can localise attribution.

test_mmPointConversion()[source]

Test that conversions between pixel and page dimensions work.

test_stacktrace_html()[source]

Stack traces can be caught and rendered as html

test_transparency_of_minimum_value()[source]

Test that transparency of minimum value works when set to 100%

This module forms part of the InaSAFE tool.

Previous topic

Module: safe_qgis.test_map

Next topic

Module: safe_qgis.test_impact_calculator

This Page