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