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:
Hironori Shiina 2018-05-14 19:44:20 +09:00
parent f88d993dac
commit 419774453a
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class RequestContextTestCase(tests_base.TestCase):
self.context_dict = {
'auth_token': 'auth_token1',
"user": "user1",
"tenant": "tenant1",
"project_id": "project1",
"project_name": "somename",
'is_admin': True,
'read_only': True,