← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1647993] Re: Misuse of assertTrue in a pci device test case

 

Reviewed:  https://review.openstack.org/407935
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=71dcb52eccc6cc641fdc6785d4d88481d6605b28
Submitter: Jenkins
Branch:    master

commit 71dcb52eccc6cc641fdc6785d4d88481d6605b28
Author: Takashi NATSUME <natsume.takashi@xxxxxxxxxxxxx>
Date:   Wed Dec 7 17:29:51 2016 +0900

    Fix misuse of assertTrue
    
    Replace assertTrue with assertEqual.
    
    Change-Id: I9ffa265082a8c67bccfe3459426f18b9a51bd46d
    Closes-Bug: #1647993


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1647993

Title:
  Misuse of assertTrue in a pci device test case

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  AssertTrue in the following line should be replaced with assertEqual.

  https://github.com/openstack/nova/blob/4354828605942ff8f23632742c87afc358bab55f/nova/tests/unit/objects/test_pci_device.py#L580

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1647993/+subscriptions


References