diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2012-12-27 11:50:53 -0600 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2013-01-15 15:59:59 -0600 |
| commit | fe3123b802cae77cf14d161cf6460a3264e6e4c2 (patch) | |
| tree | 7ef0a4fa1476e40ffc437dfea109020588ef36d9 /tests/utils.py | |
| parent | 541895994fe3cd51aa29e87030e537e0438fdf54 (diff) | |
| download | python-openstackclient-fe3123b802cae77cf14d161cf6460a3264e6e4c2.tar.gz | |
Move from unittest2 to testtools
Change-Id: I475a082af0660e0ee0e86ca4cd1bf0e2d711e3ed
Diffstat (limited to 'tests/utils.py')
| -rw-r--r-- | tests/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/utils.py b/tests/utils.py index 3535360d..792fe88e 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -3,10 +3,10 @@ import time import mox -import unittest2 +import testtools -class TestCase(unittest2.TestCase): +class TestCase(testtools.TestCase): def setUp(self): super(TestCase, self).setUp() @@ -16,6 +16,6 @@ class TestCase(unittest2.TestCase): def tearDown(self): time.time = self._original_time - super(TestCase, self).tearDown() self.mox.UnsetStubs() self.mox.VerifyAll() + super(TestCase, self).tearDown() |
