mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-19 12:45:19 +02:00
Reload a topology work
This commit is contained in:
14 files changed
+167
-34
No files matched your search
@@ -70,6 +70,20 @@ def test_json(node, compute):
|
||||
"symbol": node.symbol,
|
||||
"label": node.label
|
||||
}
|
||||
assert node.__json__(topology_dump=True) == {
|
||||
"compute_id": str(compute.id),
|
||||
"node_id": node.id,
|
||||
"node_type": node.node_type,
|
||||
"name": "demo",
|
||||
"console": node.console,
|
||||
"console_type": node.console_type,
|
||||
"properties": node.properties,
|
||||
"x": node.x,
|
||||
"y": node.y,
|
||||
"z": node.z,
|
||||
"symbol": node.symbol,
|
||||
"label": node.label
|
||||
}
|
||||
|
||||
|
||||
def test_init_without_uuid(project, compute):
|
||||
|
||||
Reference in new issue
Block a user