From 97f45f1b133779708216679bfa068d2856b4fb36 Mon Sep 17 00:00:00 2001 From: guille Date: Wed, 8 Jun 2022 13:02:24 -0400 Subject: [PATCH] Unit tests corrections --- unittests/test_construction_factory.py | 2 +- unittests/test_geometry_factory.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/unittests/test_construction_factory.py b/unittests/test_construction_factory.py index 1a8a0af2..c1aad7c7 100644 --- a/unittests/test_construction_factory.py +++ b/unittests/test_construction_factory.py @@ -93,7 +93,7 @@ class TestConstructionFactory(TestCase): self.assertIsNone(thermal_zone.lighting, 'thermal_zone lighting is not none') self.assertIsNone(thermal_zone.appliances, 'thermal_zone appliances is not none') self.assertIsNone(thermal_zone.thermal_control, 'thermal_zone thermal control is not none') - self.assertIsNone(thermal_zone.get_internal_gains(), 'thermal_zone internal gains not returns none') + self.assertIsNone(thermal_zone.internal_gains, 'thermal_zone internal gains not returns none') def _check_thermal_boundaries(self, thermal_zone): for thermal_boundary in thermal_zone.thermal_boundaries: diff --git a/unittests/test_geometry_factory.py b/unittests/test_geometry_factory.py index 2693c75e..0749bf57 100644 --- a/unittests/test_geometry_factory.py +++ b/unittests/test_geometry_factory.py @@ -101,7 +101,6 @@ class TestGeometryFactory(TestCase): self.assertIsNotNone(surface.perimeter_polygon, 'surface perimeter_polygon is none') self.assertIsNone(surface.holes_polygons, 'surface hole_polygons is not none') self.assertIsNotNone(surface.solid_polygon, 'surface solid_polygon is none') - self.assertIsNone(surface.pv_system_installed, 'surface PV system installed is not none') # citygml_classes def test_import_citygml(self):