From 7ff67dc7cb3a268da7e134ff9c89eb139de7642e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Sch=C3=B6nfeldt?= Date: Thu, 14 Dec 2023 14:58:55 +0100 Subject: [PATCH] Add test for initialisation of Entity --- tests/test_network_classes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_network_classes.py b/tests/test_network_classes.py index 60f5547..70a1f24 100644 --- a/tests/test_network_classes.py +++ b/tests/test_network_classes.py @@ -33,6 +33,10 @@ class TestsNode: def setup_method(self): self.energysystem = EnSys() + def test_entity_initialisation(self): + entity = Entity(label="foo") + assert entity.label == "label" + def test_symmetric_input_output_assignment(self): n1 = Node(label="")