← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1414909] Re: In some tests, calls to role_api still go via assignment_api

 

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

** Changed in: keystone
    Milestone: None => kilo-3

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

Title:
  In some tests, calls to role_api still go via assignment_api

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  When we recently split role management into its own backend api, there
  are a few cases (e.g.  in test_backend_ldap.py) where we didn't fully
  switch over to calling role_api directly.  For example:

          self.role_api.get_role.invalidate(self.assignment_api,
                                            self.role_member['id'])

  ....where we should really be passing self.role_api as opposed to
  self.assignment_api in as a parameter.

  https://github.com/openstack/keystone/blob/e54c32399b2e80ed729e906154c50cc11cd923c2/keystone/tests/test_backend_ldap.py#L999

  https://github.com/openstack/keystone/blob/e54c32399b2e80ed729e906154c50cc11cd923c2/keystone/tests/test_backend_ldap.py#L1021

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


References