Ensure PortSecurityDBTestCase loads correct plugin
Bug 1201569 If a plugin is passed to the setUp method, that plugin should be loaded instead od DB_PLUGIN_KLASS Change-Id: I81df9f62e7399f5a76a07e504679ee8311e5855e
This commit is contained in:
parent
e13014ec7e
commit
a077f007c4
@ -180,7 +180,7 @@ class PortSecurityTestPlugin(db_base_plugin_v2.NeutronDbPluginV2,
|
||||
|
||||
class PortSecurityDBTestCase(PortSecurityTestCase):
|
||||
def setUp(self, plugin=None):
|
||||
test_config['plugin_name_v2'] = DB_PLUGIN_KLASS
|
||||
test_config['plugin_name_v2'] = plugin or DB_PLUGIN_KLASS
|
||||
super(PortSecurityDBTestCase, self).setUp()
|
||||
|
||||
def tearDown(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user