correct path
This commit is contained in:
parent
5e47429b1c
commit
8be92c1654
2
setup.py
2
setup.py
|
@ -37,7 +37,5 @@ setup(
|
||||||
install_requires=install_requires,
|
install_requires=install_requires,
|
||||||
data_files=[
|
data_files=[
|
||||||
('cerc_persistence', glob.glob('requirements.txt')),
|
('cerc_persistence', glob.glob('requirements.txt')),
|
||||||
('cerc_persistence/tests/test_data', glob.glob('test.geojson')),
|
|
||||||
('cerc_persistence/tests/test_output', glob.glob('.gitignore')),
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -61,9 +61,9 @@ class Control:
|
||||||
City.__table__.create(bind=engine, checkfirst=True)
|
City.__table__.create(bind=engine, checkfirst=True)
|
||||||
CityObject.__table__.create(bind=engine, checkfirst=True)
|
CityObject.__table__.create(bind=engine, checkfirst=True)
|
||||||
SimulationResults.__table__.create(bind=engine, checkfirst=True)
|
SimulationResults.__table__.create(bind=engine, checkfirst=True)
|
||||||
|
example_path = (Path(__file__).parent / 'tests_data').resolve()
|
||||||
city_file = Path('tests_data/test.geojson').resolve()
|
city_file = (example_path / 'test.geojson').resolve()
|
||||||
output_path = Path('tests_outputs/').resolve()
|
output_path = (Path(__file__).parent / 'tests_outputs').resolve()
|
||||||
self._city = GeometryFactory('geojson',
|
self._city = GeometryFactory('geojson',
|
||||||
city_file,
|
city_file,
|
||||||
height_field='citygml_me',
|
height_field='citygml_me',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user