示例#1
0
    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)
示例#2
0
文件: virtualbox.py 项目: bryson/salt
    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)
示例#3
0
    def setUp(self):
        self.vbox = vb_get_box()

        self.name = "SaltCloudVirtualboxTestVM"
        vb_create_machine(self.name)
        self.assertMachineExists(self.name)
示例#4
0
 def setUpClass(cls):
     vb_create_machine(BASE_BOX_NAME)
示例#5
0
文件: virtualbox.py 项目: bryson/salt
    def setUp(self):
        self.vbox = vb_get_box()

        self.name = "SaltCloudVirtualboxTestVM"
        vb_create_machine(self.name)
        self.assertMachineExists(self.name)
示例#6
0
文件: virtualbox.py 项目: bryson/salt
 def setUpClass(cls):
     vb_create_machine(BASE_BOX_NAME)