summaryrefslogtreecommitdiff
path: root/taskflow/tests/unit/test_engine_helpers.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-09-09 18:04:40 -0700
committerJoshua Harlow <harlowja@gmail.com>2014-09-27 14:53:12 -0700
commitce620c399a9e5cf2fd438d0193ba0d83da667a88 (patch)
tree7c939d1d9f6724109e5b2ec3360a837c405ff6c1 /taskflow/tests/unit/test_engine_helpers.py
parentd43cc4f9c33a37d6a3a3f1a1eec7219a0804767b (diff)
downloadtaskflow-ce620c399a9e5cf2fd438d0193ba0d83da667a88.tar.gz
Use oslotest to provide our base test case class
The oslotest library has a nice openstack testing integrated base class that can ensure we setup our base test case using the right logging fixtures, test timeouts, and output fixtures that better operate in the openstack ecosystem. This will also allow us to remove some of the functionality that we currently have in our base test case and replace it with the equivalent (or better) functionality that oslotest now provides. Part of blueprint use-oslo-test Change-Id: I1602d5180ec8649a1899185972750ddddf65990f
Diffstat (limited to 'taskflow/tests/unit/test_engine_helpers.py')
-rw-r--r--taskflow/tests/unit/test_engine_helpers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/taskflow/tests/unit/test_engine_helpers.py b/taskflow/tests/unit/test_engine_helpers.py
index fbf1756..2353d77 100644
--- a/taskflow/tests/unit/test_engine_helpers.py
+++ b/taskflow/tests/unit/test_engine_helpers.py
@@ -14,12 +14,11 @@
# License for the specific language governing permissions and limitations
# under the License.
-import mock
-
import taskflow.engines
from taskflow import exceptions as exc
from taskflow.patterns import linear_flow
from taskflow import test
+from taskflow.test import mock
from taskflow.tests import utils as test_utils
from taskflow.utils import persistence_utils as p_utils