VirtualBox

Ignore:
Timestamp:
Jun 10, 2019 3:55:47 PM (5 years ago)
Author:
vboxsync
Message:

ValKit/tdCreateVMWithDefaults1.py: Corrections. bugref:8612

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/api/tdCreateVMWithDefaults1.py

    r78671 r79066  
    4646from testdriver import vboxcon;
    4747
     48
    4849class SubTstDrvCreateVMWithDefaults1(base.SubTestDriverBase):
    4950    """
     
    5253
    5354    def __init__(self, oTstDrv):
    54         base.SubTestDriverBase.__init__(self, 'move-vm', oTstDrv)
     55        base.SubTestDriverBase.__init__(self, 'create-vm-with-defaults', oTstDrv)
    5556        self.asRsrcs = []
    5657
     
    6061        """
    6162        reporter.log('ValidationKit folder is "%s"' % (g_ksValidationKitDir,))
    62         return self.testCreateVMWithDefaults()
     63        reporter.testStart('Create VMs with defaults');
     64        fRc = self.testCreateVMWithDefaults();
     65        reporter.testDone();
     66        return fRc;
     67
    6368
    6469    def createVMWithDefaults(self, sGuestType):
     
    171176
    172177        # Create VMs with defaults for each of the guest types.
    173         reporter.testStart('Create VMs with defaults');
    174178        fRc = True
    175179        for oGuestType in aoGuestTypes:
     
    180184            else:
    181185                reporter.testStart(sGuestType);
    182                 fRc = self.createVMWithDefaults(sGuestType) & fRc;
     186                fRc = self.createVMWithDefaults(sGuestType) and fRc;
    183187                reporter.testDone();
    184         reporter.testDone();
    185 
    186188        return fRc
    187189
     
    190192    from tdApi1 import tdApi1; # pylint: disable=relative-import
    191193    sys.exit(tdApi1([SubTstDrvCreateVMWithDefaults1]).main(sys.argv))
     194
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette