mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 23:38:17 +00:00
Create VPCS VM on controller
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user