VirtualBox

Changeset 98090 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jan 16, 2023 9:39:04 AM (2 years ago)
Author:
vboxsync
Message:

Validation Kit/tests/api/tdCloneMedium1.py: Merged target medium size comparison [pylint].

File:
1 edited

Legend:

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

    r98081 r98090  
    227227            reporter.testFailure("Data read is unexpected.")
    228228
    229         if hd1.logicalSize != hd2.logicalSize and hd2.logicalSize != 1024*1024*2:
     229        if hd2.logicalSize not in (hd1.logicalSize, 1024*1024*2):
    230230            reporter.testFailure("Target medium did not resize.")
    231231
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