VirtualBox

Ignore:
Timestamp:
Jan 30, 2018 6:20:29 PM (7 years ago)
Author:
vboxsync
Message:

ValidationKit: For API tests move some redundant object construction to the test constructor, saving a few lines, and what's most important avoid a variable in global scope which pylint doesn't like.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/api/tdTreeDepth1.py

    r70813 r70816  
    148148    sys.path.append(os.path.dirname(os.path.abspath(__file__)))
    149149    from tdApi1 import tdApi1
    150     oTD = tdApi1()
    151     oTD.addSubTestDriver(SubTstDrvTreeDepth1(oTD))
    152     sys.exit(oTD.main(sys.argv))
     150    sys.exit(tdApi1([SubTstDrvTreeDepth1]).main(sys.argv))
    153151
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