Fix link tests

This commit is contained in:
ziajka
2017-09-05 09:43:33 +02:00
parent 6ce35fa5b5
commit 68f6d37aab

View File

@@ -60,6 +60,7 @@ def link(devices, controller, project):
link = Link(devices[0], devices[0].ports()[0], devices[1], devices[1].ports()[0])
data = {
"suspend": False,
"nodes": [
{"node_id": devices[0].node_id(), "adapter_number": 0, "port_number": 0},
{"node_id": devices[1].node_id(), "adapter_number": 0, "port_number": 0}
@@ -83,6 +84,7 @@ def test_create_link(devices, project, controller):
link = Link(devices[0], devices[0].ports()[0], devices[1], devices[1].ports()[0])
data = {
"suspend": False,
"nodes": [
{"node_id": devices[0].node_id(), "adapter_number": 0, "port_number": 0},
{"node_id": devices[1].node_id(), "adapter_number": 0, "port_number": 0},