safe.report.test.test_template_composition module

InaSAFE Disaster risk assessment tool developed by AusAid and World Bank - Template Composition Test Cases.

Contact : ole.moller.nielsen@gmail.com

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class safe.report.test.test_template_composition.TemplateCompositionTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test Impact Merge Dialog widget.

setUp()[source]

Runs before each test.

tearDown()[source]

Runs after each test.

test_constructor()[source]

Test constructor.

test_load_template()[source]

Test we can load template correctly.

test_missing_elements()[source]

Test if we can get missing elements correctly.