From b8b0a6d49f26b11becd2c8364197358b49289d81 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Wed, 5 Nov 2014 15:17:19 +0100 Subject: [PATCH] Make the unit test run properly - fix import --- tests/test_context.py | 28 ---------------------------- tests/unit/test_context.py | 2 +- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 tests/test_context.py diff --git a/tests/test_context.py b/tests/test_context.py deleted file mode 100644 index b8c904b..0000000 --- a/tests/test_context.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- - -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -""" -test_context ----------------------------------- - -Tests for `context` module. -""" - -from oslotest import base - - -class TestContext(base.TestCase): - - def test_something(self): - pass diff --git a/tests/unit/test_context.py b/tests/unit/test_context.py index a1cb05d..823e52d 100644 --- a/tests/unit/test_context.py +++ b/tests/unit/test_context.py @@ -15,7 +15,7 @@ from oslotest import base as test_base -from openstack.common import context +from oslo.context import context class ContextTest(test_base.BaseTestCase):