Accept a node name when creating a node from a template using the API. Fixes #1708

This commit is contained in:
grossmj committed 2020-01-08 08:19:33 +08:00
1 parent 688b1ac0e4
commit 0a87ee573c
3 files changed
+9 -4

No files matched your search

@@ -966,6 +966,6 @@ def test_create_node_from_template(http_controller, controller, project, compute
"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