unit tests: Use the correct base class

As we override CONF, we need to use non-diet base class.

Relevant change: Ied61cd714639986add137577fffca07cd5a09c1b
Closes-Bug: #1515151
Change-Id: I05965004f8b5fe03f78ca68945b2e6c11c23c3f9
This commit is contained in:
YAMAMOTO Takashi 2015-11-11 18:18:10 +09:00
parent 29d790d73b
commit bcf51d566d

View File

@ -31,7 +31,7 @@ import neutron_taas.extensions.taas as taas_ext
from neutron_taas.services.taas import taas_plugin from neutron_taas.services.taas import taas_plugin
class TestTaasPlugin(testlib_api.SqlTestCaseLight): class TestTaasPlugin(testlib_api.SqlTestCase):
def setUp(self): def setUp(self):
super(TestTaasPlugin, self).setUp() super(TestTaasPlugin, self).setUp()
mock.patch.object(n_rpc, 'create_connection', auto_spec=True).start() mock.patch.object(n_rpc, 'create_connection', auto_spec=True).start()