Conform SFC test case to FeatureBase
[functest.git] / functest / opnfv_tests / features / odl_sfc.py
1 #!/usr/bin/python
2 #
3 # Copyright (c) 2016 All rights reserved
4 # This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10
11 import functest.core.feature_base as base
12
13
14 class OpenDaylightSFC(base.FeatureBase):
15
16     def __init__(self):
17         super(OpenDaylightSFC, self).__init__(project='sfc',
18                                               case='functest-odl-sfc"',
19                                               repo='dir_repo_sfc')
20         self.cmd = 'cd %s/tests/functest && python ./run_tests.py' % self.repo