← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1218713] Re: assertTrue format incorrect in test_extensions.py unit test

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  assertTrue format incorrect in test_extensions.py unit test

Status in neutron:
  Fix Released

Bug description:
  Usage of assertTrue/assertFalse needs modification in the unit tests
  Change example

  from assertTrue(x in y) => assertIn(x,y)
  assertFalse(x in y) => assertNotIn(x, y)

  Applicable to all the unit test cases

  Reference : Similar bug
  https://bugs.launchpad.net/neutron/+bug/1217028

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