safe.impact_reports.test.test_population_exposure_report_mixin module
InaSAFE Disaster risk assessment tool developed by AusAid -
Test for Building Exposure Report Mixin
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.impact_reports.test.test_population_exposure_report_mixin.PopulationExposureReportMixinTest(methodName='runTest')[source]
Bases: unittest.case.TestCase
Test the ReportMixin.
-
setUp()[source]
Fixture run before all tests.
-
tearDown()[source]
Run after each test.
-
test_0001_generate_report()[source]
Generate a blank report.
-
test_0002_category_ordering()[source]
Test correct category ordering.
-
test_0003_minimum_needs_breakdown()[source]
Test minimum needs breakdown.
-
test_0004_population_counts()[source]
Test correct category ordering.
-
test_0005_lookup_category()[source]
Test the category lookup functionality