1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-19 23:08:09 +00:00

Merge pull request #2234 from GNS3/fix-tests

Fix tests
This commit is contained in:
Jeremy Grossmann 2023-06-02 20:32:25 +09:30 committed by GitHub
commit 77f5044aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -952,6 +952,6 @@ async def test_create_node_from_template(controller_api, controller, project):
"x": 42,
"y": 12
})
mock.assert_called_with(id, x=42, y=12, compute_id=None)
mock.assert_called_with(id, x=42, y=12, name=None, compute_id=None)
assert response.route == "/projects/{project_id}/templates/{template_id}"
assert response.status == 201