summaryrefslogtreecommitdiff
path: root/taskflow/tests/utils.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-10-18 20:16:40 +0000
committerGerrit Code Review <review@openstack.org>2014-10-18 20:16:40 +0000
commit8d1b936239630f5dcbc41e18cabe6570197eebc6 (patch)
tree396e8a54da99a035c3f6dd0d1b56ddcb68e1b91a /taskflow/tests/utils.py
parent92865fcd96b07fc15dac57d5137ed3753f5a7a3f (diff)
parenteedc3353c8c362ba6df62182e20a8bb4f6ad6afe (diff)
downloadtaskflow-8d1b936239630f5dcbc41e18cabe6570197eebc6.tar.gz
Merge "Expose only `ensure_atom` from storage"
Diffstat (limited to 'taskflow/tests/utils.py')
-rw-r--r--taskflow/tests/utils.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/taskflow/tests/utils.py b/taskflow/tests/utils.py
index 9c5ca5a..1662b28 100644
--- a/taskflow/tests/utils.py
+++ b/taskflow/tests/utils.py
@@ -70,6 +70,16 @@ def zookeeper_available(min_version, timeout=3):
kazoo_utils.finalize_client(client)
+class NoopRetry(retry.AlwaysRevert):
+ pass
+
+
+class NoopTask(task.Task):
+
+ def execute(self):
+ pass
+
+
class DummyTask(task.Task):
def execute(self, context, *args, **kwargs):