← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1192356] Re: Tests: test_create_pool does not correctly assert anything

 

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

** Changed in: glance
    Milestone: None => havana-2

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

Title:
  Tests: test_create_pool does not correctly assert anything

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  in glance/tests/unit/common/test_wsgi.py the test 'test_create_pool'
  has:

         self.assertTrue(True, isinstance(actual,
                                          eventlet.greenpool.GreenPool))

  This assertion will always be true since it is an assertTrue of True.
  it should read:

  self.assertTrue(isinstance(actual, eventlet.greenpool.GreenPool))

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