forked from s_ranjbar/city_retrofit
Remove deprecated assert call and unused variable
This commit is contained in:
parent
1b2513692f
commit
9cbcea5fd5
|
@ -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):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user