just fixed some typological warnings
This commit is contained in:
parent
917949f671
commit
683b465895
|
@ -17,7 +17,6 @@ class SensorsFactory:
|
|||
self._end_point = end_point
|
||||
self._base_path = base_path
|
||||
|
||||
|
||||
def _cec(self):
|
||||
ConcordiaEnergyConsumption(self._city, self._end_point, self._base_path)
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ class TestSensorsFactory(TestCase):
|
|||
self._city = TestSensorsFactory._mockup_city()
|
||||
self._end_point = (Path(__file__).parent / 'tests_data/EV-GM energy demand weekly report_01-26-20_04-30.csv').resolve()
|
||||
|
||||
|
||||
@staticmethod
|
||||
def _mockup_city():
|
||||
lower_corner = [0, 0, 0]
|
||||
|
@ -38,7 +37,6 @@ class TestSensorsFactory(TestCase):
|
|||
buildings.append(Building("GM_2", lod, surfaces, year_of_construction, function, lower_corner))
|
||||
return City(lower_corner, upper_corner, srs_name, buildings)
|
||||
|
||||
|
||||
def test_city_with_sensors(self):
|
||||
SensorsFactory('cec', self._city, self._end_point).enrich()
|
||||
for building in self._city.buildings:
|
||||
|
|
Loading…
Reference in New Issue
Block a user