← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1223167] Re: Tests should call get_api instead of importing the module directly

 

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

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

Title:
  Tests should call get_api instead of importing the module directly

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

Bug description:
  The test_registry , test_simple and test_sqlalchemy tests import the modules directly instead of calling get_api of db/__init__.py
  With the introduction of db_pool, they should use the get_api method.
  Also, test_db_api.py, does not set the use_tpool option back to False, which results in failures of tests.

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