Merge "Use the neutron user on the message queue"
This commit is contained in:
commit
3592e44ce5
|
@ -52,7 +52,7 @@ def setup_amqp_req(amqp):
|
|||
"""Use the amqp interface to request access to the amqp broker using our
|
||||
local configuration.
|
||||
"""
|
||||
amqp.request_access(username='dragent',
|
||||
amqp.request_access(username='neutron',
|
||||
vhost='openstack')
|
||||
dragent.assess_status()
|
||||
|
||||
|
|
|
@ -150,7 +150,7 @@ class TestDRAgentHandlers(unittest.TestCase):
|
|||
amqp = mock.MagicMock()
|
||||
handlers.setup_amqp_req(amqp)
|
||||
amqp.request_access.assert_called_once_with(
|
||||
username='dragent', vhost='openstack')
|
||||
username='neutron', vhost='openstack')
|
||||
|
||||
def test_render_configs(self):
|
||||
self.patch(handlers.dragent, 'render_configs')
|
||||
|
|
Loading…
Reference in New Issue