designate/designate/tests/test_api
Michael Johnson 5f87d207b4 Fix support for scoped tokens and default roles
This patch is the base patch to enable support for Keystone
scoped tokens[1] and default roles[2] in the Designate API.

It also migrates to using project_id in the context objects instead of
the deprecated tenant_id.

[1] https://docs.openstack.org/keystone/latest/admin/tokens-overview.html#authorization-scopes
[2] https://docs.openstack.org/keystone/latest/admin/service-api-protection.html

Depends-On: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/821632

Change-Id: I43bb76dc4dc1d167d86fd5ea139a50f95f3b0b4a
2021-12-14 01:02:50 +00:00
..
test_admin Updated context to use project_id 2019-06-13 20:28:12 +00:00
test_v2 Merge "Replace deprecated assertDictContainsSubset" 2021-12-02 20:12:26 +00:00
__init__.py Switch to testr / testtools / fixtures, remove nose 2013-11-18 14:28:43 +01:00
test_middleware.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
test_service.py Enable H306 check and fix import ordering 2021-11-18 00:30:05 +00:00