def test_deploy(self): self.client.call = Mock(return_value='') vm = VirtualMachine(self.xml, self.client) assert vm.deploy(3) is None