def test_vm_creation_and_destruction(self): vm_name = BASE_BOX_NAME vb_create_machine(vm_name) self.assertMachineExists(vm_name) vb_destroy_machine(vm_name) self.assertMachineDoesNotExist(vm_name)
def setUp(self): self.vbox = vb_get_box() self.name = "SaltCloudVirtualboxTestVM" vb_create_machine(self.name) self.assertMachineExists(self.name)
def setUpClass(cls): vb_create_machine(BASE_BOX_NAME)