Changeset 79066 in vbox for trunk/src/VBox/ValidationKit/tests/api/tdCreateVMWithDefaults1.py
- Timestamp:
- Jun 10, 2019 3:55:47 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/api/tdCreateVMWithDefaults1.py
r78671 r79066 46 46 from testdriver import vboxcon; 47 47 48 48 49 class SubTstDrvCreateVMWithDefaults1(base.SubTestDriverBase): 49 50 """ … … 52 53 53 54 def __init__(self, oTstDrv): 54 base.SubTestDriverBase.__init__(self, ' move-vm', oTstDrv)55 base.SubTestDriverBase.__init__(self, 'create-vm-with-defaults', oTstDrv) 55 56 self.asRsrcs = [] 56 57 … … 60 61 """ 61 62 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 63 68 64 69 def createVMWithDefaults(self, sGuestType): … … 171 176 172 177 # Create VMs with defaults for each of the guest types. 173 reporter.testStart('Create VMs with defaults');174 178 fRc = True 175 179 for oGuestType in aoGuestTypes: … … 180 184 else: 181 185 reporter.testStart(sGuestType); 182 fRc = self.createVMWithDefaults(sGuestType) &fRc;186 fRc = self.createVMWithDefaults(sGuestType) and fRc; 183 187 reporter.testDone(); 184 reporter.testDone();185 186 188 return fRc 187 189 … … 190 192 from tdApi1 import tdApi1; # pylint: disable=relative-import 191 193 sys.exit(tdApi1([SubTstDrvCreateVMWithDefaults1]).main(sys.argv)) 194
Note:
See TracChangeset
for help on using the changeset viewer.