safe.gui.tools.test.test_osm_downloader_dialog module

InaSAFE Disaster risk assessment tool developed by AusAid and World Bank - Import Dialog 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.gui.tools.test.test_osm_downloader_dialog.OsmDownloaderDialogTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test Osm Downloader Dialog widget .. versionchanged:: 3.2

setUp()[source]

Runs before each test.

test_admin_level_helper()[source]

Test the helper by setting a country and an admin level.

test_checked_features()[source]

Test checked features

test_detect_country()[source]

Test if the country is well detected according to the extent.

test_populate_countries()[source]

Test if items are in the combobox. For instance every admin_level from 1 to 11 and the first and last country (alphabetical order).

test_suffix_extracting_shapefile()[source]

Test existing files method.