safe.impact_statistics.test.test_function_options_dialog module

InaSAFE Disaster risk assessment tool developed by AusAid and World Bank - GUI Test Cases.

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_statistics.test.test_function_options_dialog.FunctionOptionsDialogTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test the InaSAFE GUI for Configurable Impact Functions

static click_list_widget_item(list_widget, content)[source]

Clicking a list widget item using User Interface

Parameters:
  • list_widget (QListWidget) – the list widget to clear for
  • content (str) – the content text of the list widget item to click
test_build_form()[source]

Test that we can build a form by passing params.

test_build_form_minimum_needs()[source]

Test that we can build a form by passing it params.

test_build_widget()[source]
test_parse_input()[source]