diff --git a/tests/test_geometry_factory.py b/tests/test_geometry_factory.py index bcac1604..75186dcd 100644 --- a/tests/test_geometry_factory.py +++ b/tests/test_geometry_factory.py @@ -34,11 +34,10 @@ class TestGeometryFactory(TestCase): Test subway parsing :return: """ - city = self._get_citygml() file_path = (self._example_path / 'subway.osm').resolve() subway_entrances = self._features = GeometryFactory('osm_subway', file_path).features self.assertIsNotNone(subway_entrances, 'subway entrances is none') - self.assertEquals(len(subway_entrances), 20, 'Wrong number of subway entrances') + self.assertEqual(len(subway_entrances), 20, 'Wrong number of subway entrances') def test_citygml_city(self): """