]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Base on SqlTestCase to init db tables correctly
authorgong yong sheng <gong.yongsheng@99cloud.net>
Wed, 26 Aug 2015 09:20:25 +0000 (17:20 +0800)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Fri, 28 Aug 2015 05:57:48 +0000 (07:57 +0200)
Change-Id: I6c6503d4b8b0677cb31fa54185b1aacda68f7b53
Closes-bug: #1488868

neutron/tests/unit/services/qos/base.py

index e731340bd762c269910eb05b46027285f834b128..633b35aadab721394d966aa540b4dc5e77908af9 100644 (file)
@@ -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()