Merge "Replace usage of 'user' by 'user_id'"
This commit is contained in:
commit
d3db4250be
@ -317,7 +317,7 @@ class RpcCallbacksTestCase(base.BaseTestCase):
|
|||||||
class RpcApiTestCase(base.BaseTestCase):
|
class RpcApiTestCase(base.BaseTestCase):
|
||||||
|
|
||||||
def _test_rpc_api(self, rpcapi, topic, method, rpc_method, **kwargs):
|
def _test_rpc_api(self, rpcapi, topic, method, rpc_method, **kwargs):
|
||||||
ctxt = oslo_context.RequestContext(user='fake_user',
|
ctxt = oslo_context.RequestContext(user_id='fake_user',
|
||||||
tenant='fake_project')
|
tenant='fake_project')
|
||||||
expected_retval = 'foo' if rpc_method == 'call' else None
|
expected_retval = 'foo' if rpc_method == 'call' else None
|
||||||
expected_version = kwargs.pop('version', None)
|
expected_version = kwargs.pop('version', None)
|
||||||
|
Loading…
Reference in New Issue
Block a user