Changeset 59813 in vbox for trunk/src/VBox/ValidationKit/tests/usb
- Timestamp:
- Feb 25, 2016 9:09:02 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/usb/tdUsb1.py
r58937 r59813 191 191 if iArg >= len(asArgs): raise base.InvalidOption('The "--usb-reattach-cycles" takes cycle count'); 192 192 try: self.cUsbReattachCycles = int(asArgs[iArg]); 193 except: raise base.InvalidOption('The "--usb-reattach-cycles" value "%s" is not an integer' % (asArgs[iArg],)); 193 except: raise base.InvalidOption('The "--usb-reattach-cycles" value "%s" is not an integer' \ 194 % (asArgs[iArg],)); 194 195 if self.cUsbReattachCycles <= 0: 195 raise base.InvalidOption('The "--usb-reattach-cycles" value "%s" is zero or negative.' % (self.cUsbReattachCycles,)); 196 raise base.InvalidOption('The "--usb-reattach-cycles" value "%s" is zero or negative.' \ 197 % (self.cUsbReattachCycles,)); 196 198 else: 197 199 return vbox.TestDriver.parseOption(self, asArgs, iArg); … … 323 325 return fRc; 324 326 325 def testUsbReattach(self, oSession, oTxsSession, sUsbCtrl, sSpeed): 327 def testUsbReattach(self, oSession, oTxsSession, sUsbCtrl, sSpeed): # pylint: disable=W0613 326 328 """ 327 329 Tests that rapid connect/disconnect cycles work.
Note:
See TracChangeset
for help on using the changeset viewer.