Previous topic

test.test_main module

Next topic

test.test_osmxml module

This Page

test.test_osm module

class test.test_osm.OsmTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class test.test_osm.TestOsm(methodName='runTest')[source]

Bases: test.test_osm.OsmTestCase

test_append_addr()[source]
test_append_building()[source]
test_append_highway()[source]
test_append_node()[source]
test_attrs()[source]
test_get()[source]
test_getattr()[source]
test_index()[source]
test_init()[source]
test_merge_duplicated()[source]
test_properties()[source]
test_remove()[source]
test_replace()[source]
class test.test_osm.TestOsmElement(methodName='runTest')[source]

Bases: test.test_osm.OsmTestCase

test_attrs()[source]
test_init()[source]
test_is_new()[source]
test_set_attrs()[source]
class test.test_osm.TestOsmMultiPolygon(methodName='runTest')[source]

Bases: test.test_osm.OsmTestCase

test_init()[source]
class test.test_osm.TestOsmNode(methodName='runTest')[source]

Bases: test.test_osm.OsmTestCase

test_attrs()[source]
test_childs()[source]
test_clone()[source]
test_eq()[source]
test_geometry()[source]
test_getitem()[source]
test_init()[source]
test_init_round()[source]
test_latlon()[source]
test_ne()[source]
test_set_attrs()[source]
test_str()[source]
class test.test_osm.TestOsmPolygon(methodName='runTest')[source]

Bases: test.test_osm.OsmTestCase

test_init()[source]
class test.test_osm.TestOsmRelation(methodName='runTest')[source]

Bases: test.test_osm.OsmTestCase

test_append()[source]
test_childs()[source]
test_clone()[source]
test_eq()[source]
test_geometry()[source]
test_init()[source]
test_is_valid_multipolygon()[source]
test_member_attrs()[source]
test_member_eq()[source]
test_member_ne()[source]
test_ne()[source]
test_outer_geometry()[source]
test_ref()[source]
test_remove()[source]
test_replace()[source]
test_type()[source]
class test.test_osm.TestOsmWay(methodName='runTest')[source]

Bases: test.test_osm.OsmTestCase

test_append()[source]
test_childs()[source]
test_clean_duplicated_nodes()[source]
test_clone()[source]
test_eq()[source]
test_geometry()[source]
test_init()[source]
test_is_open()[source]
test_ne()[source]
test_remove()[source]
test_replace()[source]
test_search_node()[source]
test_shoelace()[source]