summaryrefslogtreecommitdiff
path: root/taskflow/tests/unit/test_utils.py
diff options
context:
space:
mode:
authorJeremy Stanley <fungi@yuggoth.org>2014-03-31 12:51:17 +0000
committerJeremy Stanley <fungi@yuggoth.org>2014-03-31 12:59:31 +0000
commitc95bf4165d41241fdbbfefe62653450eb7e5e838 (patch)
treeb949126192d60a7ddb43e3d2db1779947779ea27 /taskflow/tests/unit/test_utils.py
parentc2a4989ea88000dc3a532588a96bab23c233d5fb (diff)
downloadtaskflow-c95bf4165d41241fdbbfefe62653450eb7e5e838.tar.gz
Revert "Move taskflow.utils.misc.Failure to its own module"
This reverts commit 42ca240e8157b840c298d14fbf478ae570376633 which was a breaking change in a library consumed by other OpenStack projects with no deprecation or backwards compatibility considerations. It was able to merge because openstack/taskflow is apparently not yet part of the integrated gate via the proposed I202f4809afd689155e2cc4a00fc704fd772a0e92 change. Change-Id: I96cf36dc317499df91e43502efc85221f8177395 Closes-Bug: #1300161
Diffstat (limited to 'taskflow/tests/unit/test_utils.py')
-rw-r--r--taskflow/tests/unit/test_utils.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/taskflow/tests/unit/test_utils.py b/taskflow/tests/unit/test_utils.py
index 5923dc4..1c5c197 100644
--- a/taskflow/tests/unit/test_utils.py
+++ b/taskflow/tests/unit/test_utils.py
@@ -19,7 +19,6 @@ import functools
import sys
import time
-from taskflow import failure
from taskflow import states
from taskflow import test
from taskflow.tests import utils as test_utils
@@ -285,8 +284,8 @@ class GetClassNameTest(test.TestCase):
self.assertEqual(name, 'RuntimeError')
def test_global_class(self):
- name = reflection.get_class_name(failure.Failure)
- self.assertEqual(name, 'taskflow.failure.Failure')
+ name = reflection.get_class_name(misc.Failure)
+ self.assertEqual(name, 'taskflow.utils.misc.Failure')
def test_class(self):
name = reflection.get_class_name(Class)