Fix init of RequestConstructor in test_rpc.py

test_rpc.py:348:15: E1123: Unexpected keyword argument 'tenant'
in constructor call (unexpected-keyword-arg)

'project_id' is the preferred name now.

Change-Id: I8daf498fa5ad29c088b90ece0e8971febad1877d
This commit is contained in:
Brian Haley 2019-07-19 23:59:03 -04:00 committed by Brian Haley
parent 29818cf1d9
commit e394c06de1
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ class RpcApiTestCase(base.BaseTestCase):
expected = 'foo'
ctxt = oslo_context.RequestContext(user_id='fake_user',
tenant='fake_project')
project_id='fake_project')
expected_retval = expected if rpc_method == 'call' else None
expected_version = kwargs.pop('version', None)
fanout = kwargs.pop('fanout', False)