From 6eb9c9112d2b7b9dc257b08e6b71a7e8af990203 Mon Sep 17 00:00:00 2001 From: Guille Date: Tue, 30 Jun 2020 16:11:45 -0400 Subject: [PATCH] test geometry update --- tests/test_geometry_factory.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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