keystoneauth/keystoneauth1/tests
Lance Bragstad 7d7b9564ba Inject /v3 in token path for v3 plugins
Without this, it's possible to get HTTP 404 errors from keystone if
OS_AUTH_URL isn't versioned (e.g., https://keystone.example.com/ instead
of https://keystone.example.com/v3), even if OS_IDENTITY_API is set to
3.

This commit works around this issue by checking the AUTH_URL before
building the token_url and appending '/v3' to the URL before sending the
request.

Closes-Bug: 1876317

Change-Id: Ic75f0c9b36022b884105b87bfe05f4f8292d53b2
(cherry picked from commit ad46262148)
(cherry picked from commit 3ba2a3acf2)
2020-05-28 09:55:07 -03:00
..
unit Inject /v3 in token path for v3 plugins 2020-05-28 09:55:07 -03:00
__init__.py Move to the keystoneauth1 namespace 2015-06-25 16:48:54 -07:00