aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-12-14 10:30:56 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-14 10:30:56 +0000
commitc212550a99c91ccef138f70db7c94c24cab75313 (patch)
tree677ef316e0ebdada27d6d37841b2c04fa2400ae1 /functest/opnfv_tests/features
parent4296815a17310b6613259c3164acedfc53d58737 (diff)
parent557a11b3c6d5be0cf9bec464f56cd4a55d809bdf (diff)
Merge "Conform SFC test case to FeatureBase"
Diffstat (limited to 'functest/opnfv_tests/features')
-rw-r--r--functest/opnfv_tests/features/odl_sfc.py20
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 000000000..b194b2840
--- /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