Create VPCS VM on controller

This commit is contained in:
Julien Duponchelle
2016-03-11 15:06:14 +01:00
parent 4326d412f9
commit be4aa41dda
13 changed files with 76 additions and 34 deletions

View File

@ -79,7 +79,7 @@ def test_addProject_with_hypervisor(controller, async_run):
hypervisor = Hypervisor("test1")
hypervisor.post = MagicMock()
controller._hypervisors = {"test1": hypervisor }
controller._hypervisors = {"test1": hypervisor}
project1 = async_run(controller.addProject(project_id=uuid1))
hypervisor.post.assert_called_with("/projects", project1)