### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe »
- Package::safe.impact_functions »

# Module: safe.impact_functions.test_plugins

class `safe.impact_functions.test_plugins.``BasicFunction`

  Risk plugin for testing

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

class `safe.impact_functions.test_plugins.``Test_plugins`(methodName='runTest')

  Tests of Risiko calculations

  `test_aggregate`()

    Aggregation by boundaries works

  `test_damage_curve`()

    Damage curve class works

  `test_get_plugin_list`()

    It is possible to retrieve the list of functions

  `test_get_plugins`()

    Plugins can be collected

  `test_keywords_to_str`()

    String representation of keywords works

  `test_plugin_compatibility`()

    Default plugins perform as expected

  `test_requirements_check`()

    Plugins are correctly filtered based on requirements

  `test_single_get_plugins`()

    Named plugin can be retrieved

This module forms part of the InaSAFE tool.

### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe »
- Package::safe.impact_functions »