7648a9b38e433d125c98db63a999e164a1a8b4cf
[functest.git] / functest / opnfv_tests / features / netready.py
1 #!/usr/bin/python
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9
10 #
11 import functest.core.feature as base
12
13
14 class GluonVping(base.Feature):
15
16     def __init__(self):
17         super(GluonVping, self).__init__(project='netready',
18                                          case_name='gluon_vping',
19                                          repo='dir_repo_netready')
20         dir_netready_functest = '{}/test/functest'.format(self.repo)
21         self.cmd = ('cd %s && python ./gluon-test-suite.py' %
22                     dir_netready_functest)