safe.impact_functions.test.test_impact_function_metadata module

InaSAFE Disaster risk assessment tool developed by AusAid - Test Impact Function Metadata

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_metadata.TestImpactFunctionMetadata(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test for ImpactFunctionMetadata.

New in version 2.1.

test_available_exposure_constraints()[source]

Test for available_exposure_constraints.

test_available_exposure_layer_mode()[source]

Test for available_exposure_layer_mode.

test_available_exposures()[source]

Test available_exposure.

test_available_hazard_constraints()[source]

Test for available_hazard_constraints.

test_available_hazard_layer_mode()[source]

Test for available_hazard_layer_mode.

test_available_hazards()[source]

Test available_hazards.

test_continuous_hazards_units_for_layer()[source]

Test 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 exposure_units_for_layer.

test_exposures_for_layer()[source]

Test exposures_for_layer.

test_get_layer_requirements()[source]

Test for get_layer_requirements.

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 hazards_for_layer

test_init()[source]

Test init base class.

test_inner_class()[source]

Test call inner class.

test_is_function_for_constraint()[source]

Test for is_function_for_constraint

test_is_subset()[source]

Test for is_subset function.

test_is_valid()[source]

Test is_valid.

test_purposes_for_layer()[source]

Test for purposes_for_layer.

test_valid_layer_keywords()[source]

Test for valid_layer_keywords. For development.