From cc26a8004b428250197aa4eac99e988fc2ce2fcc Mon Sep 17 00:00:00 2001 From: guille Date: Fri, 24 Feb 2023 15:36:20 -0500 Subject: [PATCH] Change FUNTION_UT to CODE_UTILI --- hub/unittests/test_construction_factory.py | 2 +- hub/unittests/test_geometry_factory.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hub/unittests/test_construction_factory.py b/hub/unittests/test_construction_factory.py index 026b535f..1c5c1b52 100644 --- a/hub/unittests/test_construction_factory.py +++ b/hub/unittests/test_construction_factory.py @@ -269,7 +269,7 @@ class TestConstructionFactory(TestCase): path=file_path, height_field='citygml_me', year_of_construction_field='ANNEE_CONS', - function_field='LIBELLE_UT', + function_field='CODE_UTILI', function_to_hub=Dictionaries().montreal_function_to_hub_function).city ConstructionFactory('nrcan', city).enrich() diff --git a/hub/unittests/test_geometry_factory.py b/hub/unittests/test_geometry_factory.py index a503bc3b..56819263 100644 --- a/hub/unittests/test_geometry_factory.py +++ b/hub/unittests/test_geometry_factory.py @@ -156,6 +156,6 @@ class TestGeometryFactory(TestCase): city = self._get_city(file, 'geojson', height_field='citygml_me', year_of_construction_field='ANNEE_CONS', - function_field='LIBELLE_UT') + function_field='CODE_UTILI') GeometryHelper.city_mapping(city, plot=False) self.assertTrue(False)