octavia/octavia/tests/unit/controller/queue
JingLiu f138219e72 Set access_policy for messaging's dispatcher
oslo.messaging allow dispatcher to restrict endpoint methods since
5.11.0 in d3a8f280ebd6fd12865fd20c4d772774e39aefa2, set with
DefaultRPCAccessPolicy to fix FutureWarning like:

"The access_policy argument is changing its default value to <class
'oslo_messaging.rpc.dispatcher.DefaultRPCAccessPolicy'> in version '?',
please update the code to explicitly set None as the value:
access_policy defaults to LegacyRPCAccessPolicy which exposes private
methods. Explicitly set access_policy to DefaultRPCAccessPolicy or
ExplicitRPCAccessPolicy.

Change-Id: I9a644624d4bfdf8830fe0012dc269da8a52559ee
2017-01-05 01:07:53 +00:00
..
__init__.py Implemented Queue Consumer 2015-04-30 16:48:09 -05:00
test_consumer.py Set access_policy for messaging's dispatcher 2017-01-05 01:07:53 +00:00
test_endpoint.py Fixes unit test config override 2016-10-11 14:17:26 +00:00