safe.impact_reports.test.test_road_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_road_exposure_report_mixin.RoadExposureReportMixinTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test the ReportMixin.

New in version 3.2.

setUp()[source]

Fixture run before all tests.

tearDown()[source]

Run after each test.

test_0001_generate_report()[source]

Generate a blank report.

test_0002_road_breakdown()[source]

Test the buildings breakdown.

test_0003_total()[source]

Test general methods.