儲存庫 vbox 的更動 59813
- 時間撮記:
- 2016-2-25 上午09:09:02 (9 年 以前)
- 位置:
- trunk/src/VBox/ValidationKit
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/ValidationKit/testdriver/base.py
r59425 r59813 1575 1575 1576 1576 1577 def innerMain(self, asArgs = None): 1577 def innerMain(self, asArgs = None): # pylint: disable=R0915 1578 1578 """ 1579 1579 Exception wrapped main() worker. -
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.
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器