Skip to content

Commit

Permalink
Merge "Fix misuse of assertTrue"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Dec 8, 2016
2 parents 1b785e5 + 71dcb52 commit 9e0ea7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova/tests/unit/objects/test_pci_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def test_allocate_VF(self):

# check if parent device status has been changed to UNAVAILABLE
parent = self._get_parent_by_address(devobj.parent_addr)
self.assertTrue(fields.PciDeviceStatus.UNAVAILABLE, parent.status)
self.assertEqual(fields.PciDeviceStatus.UNAVAILABLE, parent.status)

def test_claim_PF_fail(self):
self._create_fake_instance()
Expand Down

0 comments on commit 9e0ea7a

Please sign in to comment.