summaryrefslogtreecommitdiffstats
path: root/tests/unit/test_processutils.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_processutils.py
parent0eeeb6f57a01adc6dc1e17339ba6591d0e2dee1b (diff)
parent827547a0b3da411441bf691ddbc94867001a3311 (diff)
downloadoslo-983382c5b9d64d902eb570780df341ea3aa9a83e.tar.gz
oslo-983382c5b9d64d902eb570780df341ea3aa9a83e.tar.xz
oslo-983382c5b9d64d902eb570780df341ea3aa9a83e.zip
Merge "Use testtools as test base class."
Diffstat (limited to 'tests/unit/test_processutils.py')
-rw-r--r--tests/unit/test_processutils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/test_processutils.py b/tests/unit/test_processutils.py
index ffe1232..a140aaa 100644
--- a/tests/unit/test_processutils.py
+++ b/tests/unit/test_processutils.py
@@ -15,14 +15,14 @@
# License for the specific language governing permissions and limitations
# under the License.
-import unittest
+import testtools
import mock
from openstack.common import processutils
-class UtilsTest(unittest.TestCase):
+class UtilsTest(testtools.TestCase):
# NOTE(jkoelker) Moar tests from nova need to be ported. But they
# need to be mock'd out. Currently they requre actually
# running code.
@@ -32,7 +32,7 @@ class UtilsTest(unittest.TestCase):
hozer=True)
-class ProcessExecutionErrorTest(unittest.TestCase):
+class ProcessExecutionErrorTest(testtools.TestCase):
def test_defaults(self):
err = processutils.ProcessExecutionError()