safe.test.test_translations module

InaSAFE Disaster risk assessment tool developed by AusAid -
Safe Translations Test .

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.test.test_translations.SafeTranslationsTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test translations work.

Xtest_all_dynamic_translations()[source]

Test all the phrases defined in dynamic_translations translate.

Xtest_dynamic_translation()[source]

Test for dynamic translations for a string.

Xtest_dynamic_translation_function_title()[source]

Test for dynamic translations for function title.

setUp()[source]

Runs before each test.

tearDown()[source]

Runs after each test.

test_impact_summary_words()[source]

Test specific words from impact summary info shown in doc see #348.

test_qgis_translations()[source]

Test for qgis translations.