mirror of
https://github.com/GNS3/gns3-gui.git
synced 2026-05-17 00:46:01 +03:00
Fix link tests
This commit is contained in:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user