← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1317261] [NEW] auth tests should not require admin token

 

Public bug reported:

Currently all the v3 auth tests are calling self.post(), which
eventually going through v3_request()

https://github.com/openstack/keystone/blob/master/keystone/tests/test_v3.py#L353

that's always an admin request as auth token is required. But since V3
auth is an unprotected API, there's no need for an auth token in order
to make the request.

We need to have a optional argument which indicating whether a token is
require, and fix all the auth tests to not asking for an auth token in
order to make the call.

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  auth tests should not require admin token

Status in OpenStack Identity (Keystone):
  New

Bug description:
  Currently all the v3 auth tests are calling self.post(), which
  eventually going through v3_request()

  https://github.com/openstack/keystone/blob/master/keystone/tests/test_v3.py#L353

  that's always an admin request as auth token is required. But since V3
  auth is an unprotected API, there's no need for an auth token in order
  to make the request.

  We need to have a optional argument which indicating whether a token
  is require, and fix all the auth tests to not asking for an auth token
  in order to make the call.

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


Follow ups

References