summaryrefslogtreecommitdiffstats
path: root/vnftest/contexts/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'vnftest/contexts/base.py')
-rw-r--r--vnftest/contexts/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnftest/contexts/base.py b/vnftest/contexts/base.py
index abfef57..47dbf01 100644
--- a/vnftest/contexts/base.py
+++ b/vnftest/contexts/base.py
@@ -51,7 +51,7 @@ class Context(object):
@staticmethod
def get_cls(context_type):
"""Return class of specified type."""
- for context in utils.itersubclasses(Context):
+ for context in utils.findsubclasses(Context):
if context_type == context.__context_type__:
return context
raise RuntimeError("No such context_type %s" % context_type)