summaryrefslogtreecommitdiffstats
path: root/tests/unit/test_strutils.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-01-28 07:55:57 +0000
committerGerrit Code Review <review@openstack.org>2013-01-28 07:55:57 +0000
commit983382c5b9d64d902eb570780df341ea3aa9a83e (patch)
treea76c8aad6edb5a5606fa11a8da80853e3985e19e /tests/unit/test_strutils.py
parent0eeeb6f57a01adc6dc1e17339ba6591d0e2dee1b (diff)
parent827547a0b3da411441bf691ddbc94867001a3311 (diff)
Merge "Use testtools as test base class."
Diffstat (limited to 'tests/unit/test_strutils.py')
-rw-r--r--tests/unit/test_strutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_strutils.py b/tests/unit/test_strutils.py
index 0eb5f5e..88ab9c1 100644
--- a/tests/unit/test_strutils.py
+++ b/tests/unit/test_strutils.py
@@ -15,7 +15,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-import unittest
+import testtools
import mock
@@ -23,7 +23,7 @@ from openstack.common import exception
from openstack.common import strutils
-class StrUtilsTest(unittest.TestCase):
+class StrUtilsTest(testtools.TestCase):
def test_bool_bool_from_string(self):
self.assertTrue(strutils.bool_from_string(True))