Merge "Ensure PortSecurityDBTestCase loads correct plugin"

This commit is contained in:
Jenkins 2013-07-16 02:20:59 +00:00 committed by Gerrit Code Review
commit b454674796

View File

@ -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):