small test correction

This commit is contained in:
Guille Gutierrez 2022-12-01 15:07:49 -05:00
parent 67227a0a79
commit 520a07e48b
4 changed files with 3 additions and 3 deletions

View File

@ -455,5 +455,5 @@ class City:
return _merge_city return _merge_city
@property @property
def level_of_detail(self): def level_of_detail(self) -> LevelOfDetail:
return self._level_of_detail return self._level_of_detail

View File

@ -119,6 +119,7 @@ class Idf:
self._adjacent_buildings = [] self._adjacent_buildings = []
self._export() self._export()
@staticmethod @staticmethod
def _matrix_to_list(points, lower_corner): def _matrix_to_list(points, lower_corner):
lower_x = lower_corner[0] lower_x = lower_corner[0]

View File

@ -6,7 +6,6 @@ Project Coder Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
""" """
# universal constants # universal constants
import sys
KELVIN = 273.15 KELVIN = 273.15

View File

@ -150,7 +150,7 @@ class TestGeometryFactory(TestCase):
""" """
Test geojson import Test geojson import
""" """
file = 'concordia.geojson' file = 'sample.geojson'
city = self._get_city(file, 'geojson', city = self._get_city(file, 'geojson',
height_field='citygml_me', height_field='citygml_me',
year_of_construction_field='ANNEE_CONS', year_of_construction_field='ANNEE_CONS',