safe.test.test_init module

Tests for map creation in QGIS plugin.

class safe.test.test_init.TestInit(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test that the plugin init is usable for QGIS.

Based heavily on the validator class by Alessandro Passoti available here:

http://github.com/qgis/qgis-django/blob/master/qgis-app/
plugins/validator.py
test_read_init()[source]

Test that the plugin __init__ will validate on plugins.qgis.org.