Reload VM

This commit is contained in:
Julien Duponchelle committed 2016-04-18 16:57:02 +02:00
1 parent b01d974f91
commit 6c11ad5fa6
4 files changed
+45

No files matched your search

+8
View File
@@ -110,6 +110,14 @@ def test_suspend(vm, compute, project, async_run):
compute.post.assert_called_with("/projects/{}/vpcs/vms/{}/suspend".format(vm.project.id, vm.id))
def test_reload(vm, compute, project, async_run):
compute.post = AsyncioMagicMock()
async_run(vm.reload())
compute.post.assert_called_with("/projects/{}/vpcs/vms/{}/reload".format(vm.project.id, vm.id))
def test_create_without_console(vm, compute, project, async_run):
"""
None properties should be send. Because it can mean the emulator doesn"t support it