Set fake rpc backend impl for TestLinuxBridgeAgent

Fixes bug 1153845

Change-Id: I692bfc16dbd52dacd2a9418f0bd63c3143a25025
This commit is contained in:
Eugene Nikanorov
2013-03-12 10:59:45 +04:00
parent cf00be07a6
commit c20c04d3fa

View File

@@ -61,6 +61,8 @@ class TestLinuxBridgeAgent(base.BaseTestCase):
def setUp(self):
super(TestLinuxBridgeAgent, self).setUp()
cfg.CONF.set_override('rpc_backend',
'quantum.openstack.common.rpc.impl_fake')
self.lbmgr_patcher = mock.patch('quantum.plugins.linuxbridge.agent.'
'linuxbridge_quantum_agent.'
'LinuxBridgeManager')