diff --git a/tests/test_geometry_factory.py b/tests/test_geometry_factory.py index e68d7066..17253240 100644 --- a/tests/test_geometry_factory.py +++ b/tests/test_geometry_factory.py @@ -29,6 +29,16 @@ class TestGeometryFactory(TestCase): self.assertIsNotNone(self._city_gml, 'city is none') return self._city_gml + def test_subway(self): + """ + Test subway parsing + :return: + """ + city = self._get_citygml() + file_path = (self._example_path / 'subway.osm').resolve() + self._features = GeometryFactory('osm_subway', file_path).features + self.assertIsNotNone(city, 'city is none') + def test_citygml_city(self): """ Test the City parsing