← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1287637] Re: remove hardcoded SQL queries in tests

 

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

** Changed in: keystone
    Milestone: None => icehouse-rc1

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

Title:
  remove hardcoded SQL queries in tests

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  There are several occurrences of hardcoded SQL queries at least in
  test_sql_upgrade.py:

  * https://github.com/openstack/keystone/blob/master/keystone/tests/test_sql_upgrade.py#L941
  * https://github.com/openstack/keystone/blob/master/keystone/tests/test_sql_upgrade.py#L946

  Due to variations in databases these queries might not work all the
  time, and should be replaced by queries built with sqlalchemy.

  A code sweep is in order to find and replace any hardcoded queries.

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


References