Fix class name typo in test_db_rpc_base
Change-Id: I23fd11fe4fdd2988463f2cf592d884cba72cdb41 Closes-Bug: #1281921
This commit is contained in:
parent
b4b83be54f
commit
fc7087d3c3
@ -21,10 +21,10 @@ from neutron.openstack.common.db import exception as db_exc
|
|||||||
from neutron.tests import base
|
from neutron.tests import base
|
||||||
|
|
||||||
|
|
||||||
class TestDhcpRpcCallackMixin(base.BaseTestCase):
|
class TestDhcpRpcCallbackMixin(base.BaseTestCase):
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
super(TestDhcpRpcCallackMixin, self).setUp()
|
super(TestDhcpRpcCallbackMixin, self).setUp()
|
||||||
self.plugin_p = mock.patch('neutron.manager.NeutronManager.get_plugin')
|
self.plugin_p = mock.patch('neutron.manager.NeutronManager.get_plugin')
|
||||||
get_plugin = self.plugin_p.start()
|
get_plugin = self.plugin_p.start()
|
||||||
self.plugin = mock.MagicMock()
|
self.plugin = mock.MagicMock()
|
||||||
@ -36,7 +36,7 @@ class TestDhcpRpcCallackMixin(base.BaseTestCase):
|
|||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
self.log_p.stop()
|
self.log_p.stop()
|
||||||
self.plugin_p.stop()
|
self.plugin_p.stop()
|
||||||
super(TestDhcpRpcCallackMixin, self).tearDown()
|
super(TestDhcpRpcCallbackMixin, self).tearDown()
|
||||||
|
|
||||||
def test_get_active_networks(self):
|
def test_get_active_networks(self):
|
||||||
plugin_retval = [dict(id='a'), dict(id='b')]
|
plugin_retval = [dict(id='a'), dict(id='b')]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user