From: gong yong sheng Date: Wed, 26 Aug 2015 09:20:25 +0000 (+0800) Subject: Base on SqlTestCase to init db tables correctly X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c1599337ab8b3ae77ee431f8282673cb0720717d;p=openstack-build%2Fneutron-build.git Base on SqlTestCase to init db tables correctly Change-Id: I6c6503d4b8b0677cb31fa54185b1aacda68f7b53 Closes-bug: #1488868 --- diff --git a/neutron/tests/unit/services/qos/base.py b/neutron/tests/unit/services/qos/base.py index e731340bd..633b35aad 100644 --- a/neutron/tests/unit/services/qos/base.py +++ b/neutron/tests/unit/services/qos/base.py @@ -15,10 +15,10 @@ import mock from neutron.api.rpc.callbacks.consumer import registry as cons_registry from neutron.api.rpc.callbacks.producer import registry as prod_registry from neutron.api.rpc.callbacks import resource_manager -from neutron.tests import base +from neutron.tests.unit import testlib_api -class BaseQosTestCase(base.BaseTestCase): +class BaseQosTestCase(testlib_api.SqlTestCase): def setUp(self): super(BaseQosTestCase, self).setUp()