← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: In Progress


** Tags: testing

-- 
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):
  In Progress

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


Follow ups