← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1230028] Re: Test scripts not using the right methods

 

** 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/1230028

Title:
  Test scripts not using the right methods

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Below are some methods neutron would benefit in using

  assertIsNone
  assertIsInstance
  assertIn
  assertEqual
   - assertEquals is deprecated from py2.7

  These methods reduce a redundant bool cast when using assertTrue and
  also enhances the readibility of the test scripts.

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