forked from s_ranjbar/city_retrofit
rollback unwanted changes for unit test
This commit is contained in:
parent
7c29405f21
commit
480acc6552
|
@ -30,13 +30,13 @@ class TestResultsImport(TestCase):
|
||||||
"""
|
"""
|
||||||
self._example_path = (Path(__file__).parent / 'tests_data').resolve()
|
self._example_path = (Path(__file__).parent / 'tests_data').resolve()
|
||||||
self._output_path = (Path(__file__).parent / 'tests_outputs').resolve()
|
self._output_path = (Path(__file__).parent / 'tests_outputs').resolve()
|
||||||
file = '2163_v1.geojson'
|
file = 'test.geojson'
|
||||||
file_path = (self._example_path / file).resolve()
|
file_path = (self._example_path / file).resolve()
|
||||||
self._city = GeometryFactory('geojson',
|
self._city = GeometryFactory('geojson',
|
||||||
path=file_path,
|
path=file_path,
|
||||||
height_field='height',
|
height_field='citygml_me',
|
||||||
year_of_construction_field='year_of_construction',
|
year_of_construction_field='ANNEE_CONS',
|
||||||
function_field='function',
|
function_field='CODE_UTILI',
|
||||||
function_to_hub=Dictionaries().montreal_function_to_hub_function).city
|
function_to_hub=Dictionaries().montreal_function_to_hub_function).city
|
||||||
|
|
||||||
ConstructionFactory('nrcan', self._city).enrich()
|
ConstructionFactory('nrcan', self._city).enrich()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user