### Navigation

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

# Module: safe_qgis.test_keyword_io

class `safe_qgis.test_keyword_io.``KeywordIOTest`(methodName='runTest')

  Tests for reading and writing of raster and vector data

  `test_appendKeywords`()

    Can we append file keywords with the generic readKeywords method

  `test_areKeywordsFileBased`()

    Can we correctly determine if keywords should be written to file or to database?

  `test_getHashForDatasource`()

    Test we can reliably get a hash for a uri

  `test_readDBKeywords`()

    Can we read sqlite keywords with the generic readKeywords method

  `test_readRasterFileKeywords`()

    Can we read raster file keywords using generic readKeywords method

  `test_readVectorFileKeywords`()

    Can we read vector file keywords with the generic readKeywords method

  `test_writeReadKeywordFromUri`()

    Test we can set and get keywords for a non local datasource

This module forms part of the InaSAFE tool.

### Navigation

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