summaryrefslogtreecommitdiffstats
path: root/vnftest/steps/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'vnftest/steps/base.py')
-rw-r--r--vnftest/steps/base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/vnftest/steps/base.py b/vnftest/steps/base.py
index d5c606a..454ab81 100644
--- a/vnftest/steps/base.py
+++ b/vnftest/steps/base.py
@@ -39,14 +39,14 @@ class Step(object):
def get_types():
"""return a list of known runner type (class) names"""
steps = []
- for step in utils.itersubclasses(Step):
+ for step in utils.findsubclasses(Step):
steps.append(step)
return steps
@staticmethod
def get_cls(step_type):
"""return class of specified type"""
- for step in utils.itersubclasses(Step):
+ for step in utils.findsubclasses(Step):
if step_type == step.__step_type__:
return step
@@ -56,7 +56,7 @@ class Step(object):
def get(step_type):
"""Returns instance of a step runner for execution type.
"""
- for step in utils.itersubclasses(Step):
+ for step in utils.findsubclasses(Step):
if step_type == step.__step_type__:
return step.__module__ + "." + step.__name__