summaryrefslogtreecommitdiff
path: root/taskflow/tests/unit/test_utils.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2013-08-24 08:56:48 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2013-08-26 17:26:03 -0700
commit7a09c044e337a33ae8bb0539fb4c0e714bdee4ba (patch)
treecc3d464f553bc17b0180d5a7bf464e76be9e3b6b /taskflow/tests/unit/test_utils.py
parent49a9ee3b0d6d1338f5c3ff9b05a7cfbb7dcba639 (diff)
downloadtaskflow-7a09c044e337a33ae8bb0539fb4c0e714bdee4ba.tar.gz
Use the same root test class.
Instead of being strongly tied to unittest2 make it easier for taskflow to switch to another root class (testr?) by abstracting out the unittest2 usage. This also enables some useful functionality to exist in that root test class that other tasks can take advantage of. Change-Id: I381b6fb07e47f984b44cde439a17f39a1c1d32ac
Diffstat (limited to 'taskflow/tests/unit/test_utils.py')
-rw-r--r--taskflow/tests/unit/test_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/taskflow/tests/unit/test_utils.py b/taskflow/tests/unit/test_utils.py
index ad36d81..987bc66 100644
--- a/taskflow/tests/unit/test_utils.py
+++ b/taskflow/tests/unit/test_utils.py
@@ -17,12 +17,12 @@
# under the License.
import functools
-import unittest
+from taskflow import test
from taskflow import utils
-class UtilTest(unittest.TestCase):
+class UtilTest(test.TestCase):
def test_rollback_accum(self):
context = {}