summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-01-23 09:59:46 -0500
committerMonty Taylor <mordred@inaugust.com>2013-01-24 16:30:26 +1100
commit9d9704f631156e01d55d1d1217a41ab3704bdc03 (patch)
tree1e9833c4db5b580abaa9917dccdc14429f25a023
parentae01c2c1e5ca693193aed12b66fb78e9d613faa7 (diff)
downloadoslo-context-9d9704f631156e01d55d1d1217a41ab3704bdc03.tar.gz
Replace direct use of testtools BaseTestCase.
Using the BaseTestCase across the tests in the tree lets us put in log fixtures and consistently handle mox and stubout. Part of blueprint grizzly-testtools. Change-Id: Iba7eb2c63b0c514009b2c28e5930b27726a147b0
-rw-r--r--tests/unit/test_context.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/test_context.py b/tests/unit/test_context.py
index 3437475..87c3d60 100644
--- a/tests/unit/test_context.py
+++ b/tests/unit/test_context.py
@@ -15,12 +15,11 @@
# License for the specific language governing permissions and limitations
# under the License.
-import testtools
-
from openstack.common import context
+from tests import utils
-class ContextTest(testtools.TestCase):
+class ContextTest(utils.BaseTestCase):
def test_context(self):
ctx = context.RequestContext()