Merge "Use messaging notifications transport instead of default"

This commit is contained in:
Jenkins 2016-04-13 16:31:44 +00:00 committed by Gerrit Code Review
commit 52df790c66
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ def set_defaults(control_exchange='glance'):
def get_transport():
return oslo_messaging.get_transport(CONF, aliases=_ALIASES)
return oslo_messaging.get_notification_transport(CONF, aliases=_ALIASES)
class Notifier(object):

View File

@ -116,7 +116,7 @@ class TaskRepoStub(object):
class TestNotifier(utils.BaseTestCase):
@mock.patch.object(oslo_messaging, 'Notifier')
@mock.patch.object(oslo_messaging, 'get_transport')
@mock.patch.object(oslo_messaging, 'get_notification_transport')
def _test_load_strategy(self,
mock_get_transport, mock_notifier,
url, driver):