Skip to content

Commit 8d76282

Browse files
yt-msMidnighter
authored andcommitted
style: fix flake8 errors in tests
1 parent a269ff5 commit 8d76282

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/model/test_deployment_node.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def get_elements(self):
4747
return []
4848

4949
def add_relationship(self, **kwargs):
50+
"""Simulate adding relationships."""
5051
return Relationship(**kwargs)
5152

5253

@@ -262,6 +263,7 @@ def test_deployment_node_serialising_infrastructure_nodes(model_with_node):
262263

263264

264265
def test_deployment_node_uses_adds_relationship(model_with_node):
266+
"""Test begin able to add a relationships between deployment nodes with using()."""
265267
node1 = model_with_node.empty_node
266268
node2 = DeploymentNode(name="node2")
267269
node2.set_model(model_with_node)

0 commit comments

Comments
 (0)