VirtualBox

Ignore:
Timestamp:
Mar 8, 2019 10:51:26 AM (6 years ago)
Author:
vboxsync
Message:

Guest Control/Validation Kit: Added a test case for bugref:9398 [pylint].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py

    r77613 r77615  
    21502150        return (fRc, oTxsSession);
    21512151
    2152     def threadForTestGuestCtrlSessionReboot(self, oSession, oTxsSession, oGuestProcess):
     2152    def threadForTestGuestCtrlSessionReboot(self, oGuestProcess):
    21532153        """
    21542154        Thread routine which waits for the stale guest process getting terminated (or some error)
     
    21652165            reporter.error('Got wrong stale process result: waitResult is %d, current process status is: %d' \
    21662166                            % (waitResult, oGuestProcess.status));
    2167             fRc = False;
    21682167
    21692168    def testGuestCtrlSessionReboot(self, oSession, oTxsSession, oTestVm): # pylint: disable=R0914
     
    22222221                reporter.log('Creating reboot thread ...');
    22232222                oThreadReboot = threading.Thread(target = self.threadForTestGuestCtrlSessionReboot,
    2224                                                  args=(oSession, oTxsSession, oGuestProcess), name=('threadForTestGuestCtrlSessionReboot'));
     2223                                                 args=(oGuestProcess),
     2224                                                 name=('threadForTestGuestCtrlSessionReboot'));
    22252225                oThreadReboot.setDaemon(True);
    22262226                oThreadReboot.start();
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