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:
parent
29818cf1d9
commit
e394c06de1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue