← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1265701] Re: Need use assertTrue/assertFalse replace assertEqual boolean value

 

** Changed in: glance
       Status: New => Invalid

** Changed in: keystone
       Status: New => Invalid

** Changed in: oslo
       Status: New => Invalid

** Changed in: neutron
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1265701

Title:
  Need use assertTrue/assertFalse replace assertEqual  boolean value

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid
Status in OpenStack Identity (Keystone):
  Invalid
Status in OpenStack Neutron (virtual network service):
  Invalid
Status in Oslo - a Library of Common OpenStack Code:
  Invalid

Bug description:
  unittest.TestCase has methods assertTrue/assertFalse to assert boolean value. But some test codes
  used assertEqual to compare with boolean value.   Using  assertTrue/assertFalse is more readable and clear.
  aslo less code.

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


References