def list_machines():
    vbox = virtualbox.vb_get_manager()
    for machine in vbox.getArray(vbox, "Machines"):
        print "Machine '%s' logs in '%s'" % (
            machine.name,
            machine.logFolder
        )
    def setUp(self):
        self.vbox = virtualbox.vb_get_manager()

        self.name = "SaltCloudVirtualboxTestVM"
        virtualbox.vb_create_machine(self.name)
        self.assertMachineExists(self.name)
 def test_get_manager(self):
     self.assertIsNotNone(virtualbox.vb_get_manager())
 def setUp(self):
     self.vbox = virtualbox.vb_get_manager()
    def setUp(self):
        self.vbox = virtualbox.vb_get_manager()

        self.name = "SaltCloudVirtualboxTestVM"
        virtualbox.vb_create_machine(self.name)
        self.assertMachineExists(self.name)
 def test_get_manager(self):
     self.assertIsNotNone(virtualbox.vb_get_manager())