Skip to content

Commit

Permalink
Add test for initialisation of Entity
Browse files Browse the repository at this point in the history
  • Loading branch information
p-snft committed Dec 14, 2023
1 parent 84f45a4 commit 86c7641
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_network_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "foo"

def test_symmetric_input_output_assignment(self):
n1 = Node(label="<N1>")

Expand Down

0 comments on commit 86c7641

Please sign in to comment.