Module: safe.impact_functions.test_plugins

class safe.impact_functions.test_plugins.BasicFunction[source]

Risk plugin for testing

:author Allen :rating 1 :param requires category==”hazard”

class safe.impact_functions.test_plugins.Test_plugins(methodName='runTest')[source]

Tests of Risiko calculations

test_aggregate()[source]

Aggregation by boundaries works

test_damage_curve()[source]

Damage curve class works

test_get_plugin_list()[source]

It is possible to retrieve the list of functions

test_get_plugins()[source]

Plugins can be collected

test_keywords_to_str()[source]

String representation of keywords works

test_plugin_compatibility()[source]

Default plugins perform as expected

test_requirements_check()[source]

Plugins are correctly filtered based on requirements

test_single_get_plugins()[source]

Named plugin can be retrieved

This module forms part of the InaSAFE tool.

Previous topic

Module: safe.impact_functions.test_mappings

Next topic

Module: safe.impact_functions.styles

This Page