1 ##############################################################################
2 # Copyright (c) 2017 ZTE Corporation 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 ##############################################################################
11 from oslo_config import cfg
15 cfg.StrOpt('test_case',
16 default=os.environ.get('TEST_CASE', 'fault_management'),
17 choices=['all', 'fault_management', 'maintenance'],
18 help="A name of test case to be executed,"
19 " choices are 'all', 'fault_management' or 'maintenance'."
20 " Set 'all' to execute all the test cases existing in"
21 " this repo. Default is 'fault_management'. Another test"
22 " case can be specified only if a function named"
23 " test_<test_case>() was implemented in DoctorTest.",