diff --git a/hub/unittests/test_exports.py b/hub/unittests/test_exports.py index 9b3b0ccb..3487569f 100644 --- a/hub/unittests/test_exports.py +++ b/hub/unittests/test_exports.py @@ -106,10 +106,12 @@ class TestExports(TestCase): path=file_path, function_to_hub=Dictionaries().alkis_function_to_hub_function).city self.assertIsNotNone(city, 'city is none') + EnergyBuildingsExportsFactory('idf', city, self._output_path).export() ConstructionFactory('nrcan', city).enrich() + EnergyBuildingsExportsFactory('idf', city, self._output_path).export() UsageFactory('nrcan', city).enrich() try: - EnergyBuildingsExportsFactory('idf', city, self._output_path).export_debug() + EnergyBuildingsExportsFactory('idf', city, self._output_path).export() except Exception: self.fail("Idf ExportsFactory raised ExceptionType unexpectedly!") diff --git a/requirements.txt b/requirements.txt index 1d53e0cb..72293904 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,4 +23,5 @@ shapely geopandas triangle psycopg2-binary -Pillow \ No newline at end of file +Pillow +pathlib \ No newline at end of file diff --git a/setup.py b/setup.py index fc8b3bd1..bbc2f8f3 100644 --- a/setup.py +++ b/setup.py @@ -80,6 +80,7 @@ setup( 'hub.imports' ], setup_requires=install_requires, + install_requires=install_requires, data_files=[ ('hub', glob.glob('requirements.txt')), ('hub/config', glob.glob('hub/config/*.ini')),