diff options
author | Moshe <moshehoa@amdocs.com> | 2018-06-20 10:23:28 +0300 |
---|---|---|
committer | Moshe <moshehoa@amdocs.com> | 2018-06-20 12:13:36 +0300 |
commit | c7c4cc227ed9447b4fdceeceece35384404bd7ec (patch) | |
tree | 5a7900dfa5ce66c1821e2ab0719741e9cccfb126 /vnftest/runners | |
parent | e65155cab8d6d74989f1dd0bd1a493e1c91a30d9 (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/runners')
-rwxr-xr-x | vnftest/runners/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnftest/runners/base.py b/vnftest/runners/base.py index f13d0d6..7310d9b 100755 --- a/vnftest/runners/base.py +++ b/vnftest/runners/base.py @@ -82,7 +82,7 @@ class Runner(object): @staticmethod def get_cls(runner_type): """return class of specified type""" - for runner in utils.itersubclasses(Runner): + for runner in utils.findsubclasses(Runner): if runner_type == runner.__execution_type__: return runner raise RuntimeError("No such runner_type %s" % runner_type) @@ -91,7 +91,7 @@ class Runner(object): def get_types(): """return a list of known runner type (class) names""" types = [] - for runner in utils.itersubclasses(Runner): + for runner in utils.findsubclasses(Runner): types.append(runner) return types |