Remove deprecated assert call and unused variable

This commit is contained in:
Guille 2020-10-19 11:48:34 -04:00
parent 1b2513692f
commit 9cbcea5fd5

View File

@ -34,11 +34,10 @@ class TestGeometryFactory(TestCase):
Test subway parsing Test subway parsing
:return: :return:
""" """
city = self._get_citygml()
file_path = (self._example_path / 'subway.osm').resolve() file_path = (self._example_path / 'subway.osm').resolve()
subway_entrances = self._features = GeometryFactory('osm_subway', file_path).features subway_entrances = self._features = GeometryFactory('osm_subway', file_path).features
self.assertIsNotNone(subway_entrances, 'subway entrances is none') 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): def test_citygml_city(self):
""" """