### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe_qgis_tests »

# Module: safe_qgis.test_utilities

class `safe_qgis.test_utilities.``UtilitiesTest`(methodName='runTest')

  Tests for reading and writing of raster and vector data

  `test_getQgisVersion`()

    Test we can get the version of QGIS

  `test_humaniseSeconds`()

    Test that humanise seconds works.

  `test_issue121`()

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

  `test_issue126`()

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

  `test_issue157`()

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

  `test_issue230`()

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

  `test_mmPointConversion`()

    Test that conversions between pixel and page dimensions work.

  `test_stacktrace_html`()

    Stack traces can be caught and rendered as html

This module forms part of the InaSAFE tool.

### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe_qgis_tests »