VirtualBox

Changeset 77552 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 4, 2019 10:38:15 AM (6 years ago)
Author:
vboxsync
Message:

Guest Control/Validation Kit: Pylint fixes.

File:
1 edited

Legend:

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

    r77551 r77552  
    101101    """
    102102    def __init__(self, sUser = None, sPassword = None, sDomain = None):
     103        self.oTestVm   = None;
    103104        self.sUser     = sUser;
    104105        self.sPassword = sPassword;
     
    19211922            sImageOut = "/bin/ls";
    19221923
     1924        # Use credential defaults.
     1925        oCreds = tdCtxCreds();
     1926        oCreds.applyDefaultsIfNotSet(oTestVm);
     1927
    19231928        aaInvalid = [
    19241929            # Invalid parameters.
     
    20912096        try:
    20922097            reporter.log('Creating session for all tests ...');
    2093             curGuestSession = oGuest.createSession(sUser, sPassword, '', 'testGuestCtrlExec: One session for all tests');
     2098            curGuestSession = oGuest.createSession(oCreds.sUser, oCreds.sPassword, oCreds.sDomain,
     2099                                                   'testGuestCtrlExec: One session for all tests');
    20942100            try:
    20952101                fWaitFor = [ vboxcon.GuestSessionWaitForFlag_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