Skip to content

Commit

Permalink
Test Node input check
Browse files Browse the repository at this point in the history
The error was not tested for because an error was risen before.
  • Loading branch information
p-snft committed Dec 14, 2023
1 parent 0b77f0a commit 1fe963e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_network_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ def test_entity_input_output_type_assertions(self):
"""
with pytest.raises(ValueError):
Node("An entity with an output", outputs={"Not a Node": "A Flow"})

with pytest.raises(ValueError):
Node("An entity with an input", inputs={"Not a Node": "A Flow"})

def test_node_label_without_private_attribute(self):
Expand Down

0 comments on commit 1fe963e

Please sign in to comment.