diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-11-23 11:24:49 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-12-13 19:28:00 +0100 |
commit | 557a11b3c6d5be0cf9bec464f56cd4a55d809bdf (patch) | |
tree | 9d8581030c24340697e3ba9b6af5988d2488c1d5 /functest/opnfv_tests | |
parent | 14f2b4917411bb24a03f04a210627f144873a995 (diff) |
Conform SFC test case to FeatureBase
JIRA: FUNCTEST-550
Change-Id: I46853d1ba943a54b39b760c34c29c2b4c3b43d63
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'functest/opnfv_tests')
-rw-r--r-- | functest/opnfv_tests/features/odl_sfc.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/functest/opnfv_tests/features/odl_sfc.py b/functest/opnfv_tests/features/odl_sfc.py new file mode 100644 index 00000000..b194b284 --- /dev/null +++ b/functest/opnfv_tests/features/odl_sfc.py @@ -0,0 +1,20 @@ +#!/usr/bin/python +# +# Copyright (c) 2016 All rights reserved +# This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# + +import functest.core.feature_base as base + + +class OpenDaylightSFC(base.FeatureBase): + + def __init__(self): + super(OpenDaylightSFC, self).__init__(project='sfc', + case='functest-odl-sfc"', + repo='dir_repo_sfc') + self.cmd = 'cd %s/tests/functest && python ./run_tests.py' % self.repo |