diff --git a/imports/sensors_factory.py b/imports/sensors_factory.py index 0e1e8914..41b1ea51 100644 --- a/imports/sensors_factory.py +++ b/imports/sensors_factory.py @@ -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) diff --git a/non_functional_tests/test_sensors_factory.py b/non_functional_tests/test_sensors_factory.py index b5ae3585..ee0b85bc 100644 --- a/non_functional_tests/test_sensors_factory.py +++ b/non_functional_tests/test_sensors_factory.py @@ -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: