X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=doctor_tests%2Fscenario%2F__init__.py;h=b9dfa307863e54cab55c3922445e7b4b93f9f2c0;hb=refs%2Fchanges%2F15%2F50615%2F1;hp=48893ae6377503a06264d76cfc2ead922f122d86;hpb=44d1e135eced7afe13b8772a610ae5cdae310b68;p=doctor.git diff --git a/doctor_tests/scenario/__init__.py b/doctor_tests/scenario/__init__.py index 48893ae6..b9dfa307 100644 --- a/doctor_tests/scenario/__init__.py +++ b/doctor_tests/scenario/__init__.py @@ -6,3 +6,17 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## +from oslo_config import cfg + + +OPTS = [ + cfg.StrOpt('test_case', + default='fault_management', + help="A name of test case to be executed," + " choices are 'all', 'fault_management' or 'maintenance'." + " Set 'all' to execute all the test cases existing in" + " this repo. Default is 'fault_management'. Another test" + " case can be specified only if a function named" + " test_() was implemented in DoctorTest.", + required=False), +]