diff options
author | xudan <xudan16@huawei.com> | 2018-11-24 01:44:02 -0500 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2019-01-03 22:15:40 -0500 |
commit | b7ee5abe9b73cbc0928bf9ac080a6aecf05bcb7e (patch) | |
tree | 6825cc66028c7c085364a5cedd727cddc93b5b49 /dovetail/testcase.py | |
parent | 78b0062ce9dc4d23b967112a0896f12cc6526e1c (diff) |
Add ONAP VNF SDK verification tests
Please refer to env_config.sh.onap.sample when testing it.
The guide of preparing local env for onap package validation can be found here
https://gerrit.onap.org/r/#/c/75119
Change-Id: I39d6b11544847756126623a7eb3b953dc800c470
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/testcase.py')
-rw-r--r-- | dovetail/testcase.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/dovetail/testcase.py b/dovetail/testcase.py index 74fbbea8..04d95cae 100644 --- a/dovetail/testcase.py +++ b/dovetail/testcase.py @@ -349,6 +349,15 @@ class VnftestTestcase(Testcase): self.type = 'vnftest' +class OnapVtpTestcase(Testcase): + + validate_testcase_list = {} + + def __init__(self, testcase_yaml): + super(OnapVtpTestcase, self).__init__(testcase_yaml) + self.type = 'onap-vtp' + + class TestcaseFactory(object): TESTCASE_TYPE_MAP = { 'functest': FunctestTestcase, @@ -356,7 +365,8 @@ class TestcaseFactory(object): 'bottlenecks': BottlenecksTestcase, 'shell': ShellTestcase, 'vnftest': VnftestTestcase, - 'functest-k8s': FunctestK8sTestcase + 'functest-k8s': FunctestK8sTestcase, + 'onap-vtp': OnapVtpTestcase } @classmethod |