safe.gui.tools.test.test_save_scenario module

Test for Save Scenario Dialog.

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.gui.tools.test.test_save_scenario.SaveScenarioTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test save scenario tool.

setUp()[source]

Fixture run before all tests.

tearDown()[source]

Fixture run after each test

test_relative_path()[source]

Test we calculate the relative paths correctly when saving scenario.

test_save_scenario()[source]

Test saving Current scenario.

test_validate_input()[source]

Test validate input.