summaryrefslogtreecommitdiffstats
path: root/vnftest/dispatcher
diff options
context:
space:
mode:
authorMoshe <moshehoa@amdocs.com>2018-06-20 10:23:28 +0300
committerMoshe <moshehoa@amdocs.com>2018-06-20 12:13:36 +0300
commitc7c4cc227ed9447b4fdceeceece35384404bd7ec (patch)
tree5a7900dfa5ce66c1821e2ab0719741e9cccfb126 /vnftest/dispatcher
parente65155cab8d6d74989f1dd0bd1a493e1c91a30d9 (diff)
Add validation abilities to test cases
Change-Id: I76b28e6170d6e91836b195d58c0b882168c11a67 Issue-ID: VNFSDK-275 Signed-off-by: Moshe <moshehoa@amdocs.com> Add unit tests Issue-ID: VNFSDK-275 Change-Id: I34bc9a11e16e4092fdad3b4a1733c7219e624f5f Signed-off-by: Moshe <moshehoa@amdocs.com> add unit tests Issue-ID: VNFSDK-275 Change-Id: Ib99c3521438b002e0d8aaff9870224673e34899f Signed-off-by: Moshe <moshehoa@amdocs.com> add unit tests Issue-ID: VNFSDK-275 Change-Id: I1ac560dfb40df5f346b0db8f40b8c52a2fb6b350 Signed-off-by: Moshe <moshehoa@amdocs.com>
Diffstat (limited to 'vnftest/dispatcher')
-rw-r--r--vnftest/dispatcher/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnftest/dispatcher/base.py b/vnftest/dispatcher/base.py
index 133b792..e53dd96 100644
--- a/vnftest/dispatcher/base.py
+++ b/vnftest/dispatcher/base.py
@@ -30,7 +30,7 @@ class Base(object):
@staticmethod
def get_cls(dispatcher_type):
"""Return class of specified type."""
- for dispatcher in utils.itersubclasses(Base):
+ for dispatcher in utils.findsubclasses(Base):
if dispatcher_type == dispatcher.__dispatcher_type__:
return dispatcher
raise RuntimeError("No such dispatcher_type %s" % dispatcher_type)