From 421d64ee849da6657f295c7724901ff91935735c Mon Sep 17 00:00:00 2001 From: Pilar Date: Tue, 8 Jun 2021 11:41:15 -0400 Subject: [PATCH] test_stuttgart_gml modified to print more information for debugging --- non_functional_tests/test_geometry_factory.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/non_functional_tests/test_geometry_factory.py b/non_functional_tests/test_geometry_factory.py index dd049137..d33a1f4d 100644 --- a/non_functional_tests/test_geometry_factory.py +++ b/non_functional_tests/test_geometry_factory.py @@ -51,11 +51,13 @@ class TestGeometryFactory(TestCase): # citygml_classes def test_stuttgart_gml(self): - file = 'concordia.gml' + file = 'ConcordiaSWGcampus.gml' city = self._get_citygml(file) - print(f'city name: {city}') + print(f'city name: {city.name}') + print(f'number of buildings: {len(city.buildings)}') for building in city.buildings: - print(f'building {building.name} has {len(building.surfaces)} surfaces {building.volume}') + print(f'building {building.name} has {len(building.surfaces)} surfaces') + print(f'building {building.name} has {building.volume} m3') print(f'Found {len(city.buildings)} buildings') self.assertTrue(True)