diff options
| author | Jenkins <jenkins@review.openstack.org> | 2014-11-19 03:04:52 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2014-11-19 03:04:52 +0000 |
| commit | dac5723fa5c2bb90bef09a934372b8a6358155bb (patch) | |
| tree | 7a49b2bfc678fe4b79041cef4b53641f82207e7f /taskflow/tests/unit/test_engines.py | |
| parent | da6e11a9da005afa5b417418d7abe0454c669e79 (diff) | |
| parent | 3c9871d8c3e5746db23a8749df0123818c6d9f55 (diff) | |
| download | taskflow-dac5723fa5c2bb90bef09a934372b8a6358155bb.tar.gz | |
Merge "Remove direct usage of the deprecated failure location"
Diffstat (limited to 'taskflow/tests/unit/test_engines.py')
| -rw-r--r-- | taskflow/tests/unit/test_engines.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/taskflow/tests/unit/test_engines.py b/taskflow/tests/unit/test_engines.py index f33d2d6..43153f3 100644 --- a/taskflow/tests/unit/test_engines.py +++ b/taskflow/tests/unit/test_engines.py @@ -31,10 +31,10 @@ from taskflow import states from taskflow import task from taskflow import test from taskflow.tests import utils +from taskflow.types import failure from taskflow.types import futures from taskflow.types import graph as gr from taskflow.utils import async_utils as au -from taskflow.utils import misc from taskflow.utils import persistence_utils as p_utils from taskflow.utils import threading_utils as tu @@ -529,7 +529,7 @@ class EngineCheckingTaskTest(utils.EngineTestBase): self.assertEqual(result, 'RESULT') self.assertEqual(list(flow_failures.keys()), ['fail1']) fail = flow_failures['fail1'] - self.assertIsInstance(fail, misc.Failure) + self.assertIsInstance(fail, failure.Failure) self.assertEqual(str(fail), 'Failure: RuntimeError: Woot!') flow = lf.Flow('test').add( |
