diff options
author | Victor Sergeyev <vsergeyev@mirantis.com> | 2014-04-15 13:05:35 +0300 |
---|---|---|
committer | Ilya Pekelny <ipekelny@mirantis.com> | 2014-04-15 17:53:05 +0300 |
commit | 2280d17fc2c6c144c1490617811b4665d5d41545 (patch) | |
tree | a51cd4d7d44aa564d6c991105d0fc2cb0cf08da7 | |
parent | 13d6d6308a17adfb5fe202e1300da3f9d3e73e44 (diff) | |
download | oslo-context-2280d17fc2c6c144c1490617811b4665d5d41545.tar.gz |
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
-rw-r--r-- | tests/unit/test_context.py | 5 |
1 files 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() |