From 2280d17fc2c6c144c1490617811b4665d5d41545 Mon Sep 17 00:00:00 2001 From: Victor Sergeyev Date: Tue, 15 Apr 2014 13:05:35 +0300 Subject: [PATCH] Use oslotest instead of common test module Module openstack.common.test is obsolete, so we should use oslotest library instead of it. Modified tests and common database code, new requirement added. Change-Id: I853e548f11a4c3785eaf75124510a6d789536634 --- tests/unit/test_context.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_context.py b/tests/unit/test_context.py index 47cb003..9fedff7 100644 --- a/tests/unit/test_context.py +++ b/tests/unit/test_context.py @@ -13,11 +13,12 @@ # License for the specific language governing permissions and limitations # under the License. +from oslotest import base as test_base + from openstack.common import context -from openstack.common import test -class ContextTest(test.BaseTestCase): +class ContextTest(test_base.BaseTestCase): def test_context(self): ctx = context.RequestContext()