test web_hook

This commit is contained in:
Guille Gutierrez 2023-07-18 11:05:29 -04:00
parent 61b9780140
commit 8deb92480b

View File

@ -1,7 +1,7 @@
import glob import glob
import os import os
import subprocess import subprocess
from unittest import TestCase import unittest
from pathlib import Path from pathlib import Path
@ -18,10 +18,10 @@ from costs.cost import Cost
from costs.constants import SKIN_RETROFIT, SKIN_RETROFIT_AND_SYSTEM_RETROFIT_AND_PV, SYSTEM_RETROFIT_AND_PV from costs.constants import SKIN_RETROFIT, SKIN_RETROFIT_AND_SYSTEM_RETROFIT_AND_PV, SYSTEM_RETROFIT_AND_PV
class UnitTests(TestCase): class UnitTests(unittest.TestCase):
def setUp(self) -> None: def setUp(self) -> None:
city_file = "./data/test.geojson" city_file = Path("./tests/data/test.geojson").resolve()
output_path = Path('./output/').resolve() output_path = Path('./tests/output/').resolve()
city = GeometryFactory('geojson', city = GeometryFactory('geojson',
city_file, city_file,
height_field='citygml_me', height_field='citygml_me',