change test_case option
[doctor.git] / doctor_tests / scenario / __init__.py
1 ##############################################################################
2 # Copyright (c) 2017 ZTE Corporation and others.
3 #
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 oslo_config import cfg
10
11
12 OPTS = [
13     cfg.StrOpt('test_case',
14                default='fault_management',
15                help="A name of test case to be executed,"
16                     " choices are 'all', 'fault_management' or 'maintenance'."
17                     " Set 'all' to execute all the test cases existing in"
18                     " this repo. Default is 'fault_management'. Another test"
19                     " case can be specified only if a function named"
20                     " test_<test_case>() was implemented in DoctorTest.",
21                required=False),
22 ]