safe.impact_functions.test.test_impact_function_manager module
InaSAFE Disaster risk assessment tool developed by AusAid -
Test Impact Function Manager
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_functions.test.test_impact_function_manager.TestImpactFunctionManager(methodName='runTest')[source]
Bases: unittest.case.TestCase
Test for ImpactFunctionManager.
-
setUp()[source]
-
test_available_exposure_constraints()[source]
Test for available_exposure_constraints.
-
test_available_exposure_layer_modes()[source]
Test for available_exposure_layer_modes.
-
test_available_exposures()[source]
Test available_exposures API.
-
test_available_hazard_constraints()[source]
Test for available_hazard_constraints.
-
test_available_hazard_layer_modes()[source]
Test for available_hazard_layer_modes.
-
test_available_hazards()[source]
Test available_hazards API.
-
test_continuous_hazards_units_for_layer()[source]
Test for continuous_hazards_units_for_layer
-
test_exposure_additional_keywords()[source]
Test for exposure_additional_keywords.
-
test_exposure_class_fields()[source]
Test for exposure_class_fields.
-
test_exposure_units_for_layer()[source]
Test for exposure_units_for_layer
-
test_exposures_for_layer()[source]
Test for exposures_for_layer
-
test_functions_for_constraint()[source]
Test functions_for_constraint.
-
test_get_all_layer_requirements()[source]
Test to generate all layer requirements from all IFs.
-
test_get_function_title()[source]
TestImpactFunctionManager: Test getting function title.
-
test_hazard_additional_keywords()[source]
Test for hazard_additional_keywords.
-
test_hazard_categories_for_layer()[source]
Test for hazard_categories_for_layer
-
test_hazards_for_layer()[source]
Test for hazards_for_layer
-
test_init()[source]
TestImpactFunctionManager: Test initialize ImpactFunctionManager.
-
test_purposes_for_layer()[source]
Test for purposes_for_layer