2 ##############################################################################
3 # Copyright (c) 2016 Huawei Technologies Co.,Ltd 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
9 ##############################################################################
14 class Testcase(object):
15 """Test command group.
17 Set of commnads to execute and list testcases
21 self.test_case_path = '/home/opnfv/bottlenecks/testsuites/'
22 self.test_case_list = []
24 def run(self, testname, noclean=False):
25 os.system('bash /home/opnfv/bottlenecks/run_tests.sh ' + testname)