small test correction remove deprecated db_export calls
This commit is contained in:
parent
42a0d3887c
commit
7092e75a52
|
@ -25,18 +25,11 @@ class DBFactory:
|
|||
|
||||
def city_by_id(self, city_id):
|
||||
"""
|
||||
Retrieve a single city from postgres
|
||||
Retrieve a single city using the id
|
||||
:param city_id: the id of the city to get
|
||||
"""
|
||||
return self._city.get_by_id(city_id)
|
||||
|
||||
def city_by_name(self, city_name):
|
||||
"""
|
||||
Retrieve a single city from postgres
|
||||
:param city_name: the name of the city to get
|
||||
"""
|
||||
return self._city.get_by_name(city_name)
|
||||
|
||||
def cities_by_user(self, user_id):
|
||||
"""
|
||||
Retrieve cities created by user
|
||||
|
|
|
@ -119,10 +119,6 @@ class TestGeometryFactory(TestCase):
|
|||
self.assertIsNotNone(city, 'city is none')
|
||||
self.assertTrue(len(city.buildings) == 36)
|
||||
i = 0
|
||||
for building in city.buildings:
|
||||
print(building.volume)
|
||||
self.assertIsNotEqual(building.volume, inf, 'open volume')
|
||||
i += 1
|
||||
|
||||
def test_import_obj(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user