1 # ############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
4 # All rights reserved. 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 # http://www.apache.org/licenses/LICENSE-2.0
8 # ############################################################################
9 from yardstick.benchmark.core.testcase import Testcase
10 from yardstick.benchmark.core import Param
11 from api.utils import common as common_utils
15 return listAllTestcases(args)
18 def listAllTestcases(args):
20 testcase_list = Testcase().list_all(param)
21 return common_utils.result_handler(1, testcase_list)