mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 00:08:11 +00:00
Fix tests.
This commit is contained in:
parent
0a87ee573c
commit
114da9764b
@ -966,6 +966,6 @@ def test_create_node_from_template(http_controller, controller, project, compute
|
|||||||
"x": 42,
|
"x": 42,
|
||||||
"y": 12
|
"y": 12
|
||||||
})
|
})
|
||||||
mock.assert_called_with(id, x=42, y=12, name=None, compute_id=None)
|
mock.assert_called_with(id, x=42, y=12, compute_id=None)
|
||||||
assert response.route == "/projects/{project_id}/templates/{template_id}"
|
assert response.route == "/projects/{project_id}/templates/{template_id}"
|
||||||
assert response.status == 201
|
assert response.status == 201
|
||||||
|
Loading…
Reference in New Issue
Block a user