Permalink
Browse files

Update unittests to be Python 2.6 compatible.

Fixes bug 980504 by introducing unittest2 module into novaclient.

Change-Id: I613665eb174598a162795cec737078f960adc4cf
  • Loading branch information...
1 parent ad4a04a commit d6d7386fad20fe3165419b3ab2ee51bd90b46e2c Brian Lamar committed Apr 13, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −2 tests/utils.py
  2. +1 −0 tools/pip-requires
View
4 tests/utils.py
@@ -1,5 +1,5 @@
-import unittest
+import unittest2
-class TestCase(unittest.TestCase):
+class TestCase(unittest2.TestCase):
pass
View
1 tools/pip-requires
@@ -6,3 +6,4 @@ nose
prettytable
simplejson
pep8==0.6.1
+unittest2

0 comments on commit d6d7386

Please sign in to comment.