From 92b264bbbcea1485ae789f74f468728284a3997e Mon Sep 17 00:00:00 2001 From: Ken Thomas Date: Wed, 15 Feb 2012 13:20:35 -0800 Subject: [PATCH] Use unittest2 instead of unittest. This allows the test to run on RHEL 6.2 and python 2.6. Fixed bug 933076 Change-Id: Idb026114ac1813266d77a70d13b0c3b9467f5199 --- tests/utils.py | 2 +- tools/pip-requires | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/utils.py b/tests/utils.py index 04c5890f3..514ad01f8 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,8 +1,8 @@ import time -import unittest import httplib2 import mox +import unittest2 as unittest from keystoneclient.v2_0 import client diff --git a/tools/pip-requires b/tools/pip-requires index 5132a3477..af3712df4 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -7,3 +7,4 @@ nose pep8 prettytable simplejson +unittest2