diff --git a/tests/test_results_import.py b/tests/test_results_import.py index 5f227582..1befac19 100644 --- a/tests/test_results_import.py +++ b/tests/test_results_import.py @@ -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()