rollback unwanted changes for unit test

This commit is contained in:
Guille Gutierrez 2023-08-10 11:31:48 -04:00
parent 7c29405f21
commit 480acc6552

View File

@ -30,13 +30,13 @@ class TestResultsImport(TestCase):
"""
self._example_path = (Path(__file__).parent / 'tests_data').resolve()
self._output_path = (Path(__file__).parent / 'tests_outputs').resolve()
file = '2163_v1.geojson'
file = 'test.geojson'
file_path = (self._example_path / file).resolve()
self._city = GeometryFactory('geojson',
path=file_path,
height_field='height',
year_of_construction_field='year_of_construction',
function_field='function',
height_field='citygml_me',
year_of_construction_field='ANNEE_CONS',
function_field='CODE_UTILI',
function_to_hub=Dictionaries().montreal_function_to_hub_function).city
ConstructionFactory('nrcan', self._city).enrich()