Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Commit

Permalink
style: fix flake8 errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yt-ms authored and Midnighter committed Nov 29, 2020
1 parent a269ff5 commit 8d76282
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/model/test_deployment_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def get_elements(self):
return []

def add_relationship(self, **kwargs):
"""Simulate adding relationships."""
return Relationship(**kwargs)


Expand Down Expand Up @@ -262,6 +263,7 @@ def test_deployment_node_serialising_infrastructure_nodes(model_with_node):


def test_deployment_node_uses_adds_relationship(model_with_node):
"""Test begin able to add a relationships between deployment nodes with using()."""
node1 = model_with_node.empty_node
node2 = DeploymentNode(name="node2")
node2.set_model(model_with_node)
Expand Down

0 comments on commit 8d76282

Please sign in to comment.