3 # Copyright (c) 2017 Orange and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # pylint: disable=missing-docstring
15 from functest.opnfv_tests.features import netready
16 from functest.utils.constants import CONST
19 class NetreadyTesting(unittest.TestCase):
21 logging.disable(logging.CRITICAL)
23 _case_name = "gluon_vping"
24 _project_name = "netready"
27 self.netready = netready.GluonVping(case_name=self._case_name,
28 project_name=self._project_name)
31 self.assertEqual(self.netready.project_name, self._project_name)
32 self.assertEqual(self.netready.case_name, self._case_name)
33 repo = CONST.__getattribute__('dir_repo_netready')
36 'cd {}/test/functest && python ./gluon-test-suite.py'.format(repo))
39 if __name__ == "__main__":
40 unittest.main(verbosity=2)