Fix tenant DeprecationWarning from oslo_context
This removes a deprecation warning as a follow up for Ie555a5c554356c04d929fce972b061f720701355. Error: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead Change-Id: I34236ea30b9a14b8c72495e738476272b56910ce
This commit is contained in:
parent
f88d993dac
commit
419774453a
@ -23,7 +23,7 @@ class RequestContextTestCase(tests_base.TestCase):
|
|||||||
self.context_dict = {
|
self.context_dict = {
|
||||||
'auth_token': 'auth_token1',
|
'auth_token': 'auth_token1',
|
||||||
"user": "user1",
|
"user": "user1",
|
||||||
"tenant": "tenant1",
|
"project_id": "project1",
|
||||||
"project_name": "somename",
|
"project_name": "somename",
|
||||||
'is_admin': True,
|
'is_admin': True,
|
||||||
'read_only': True,
|
'read_only': True,
|
||||||
|
Loading…
Reference in New Issue
Block a user