diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2016-10-07 16:33:44 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2016-10-07 16:33:44 +0800 |
commit | bfc96872dde7b0074b576a2ce384c808588193c1 (patch) | |
tree | abac196e959e6fbe3e6f58d04c26b061b0fa7446 /restful_server | |
parent | 33d953b9c4a7ecada927af3b1666d15e3f389beb (diff) |
Rename `suit` to `suite`
We should use correct words for naming.
Change-Id: Ia1ec690fca62259b5f226e2d6941a507cc61786e
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'restful_server')
-rw-r--r-- | restful_server/qtip_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/restful_server/qtip_server.py b/restful_server/qtip_server.py index 734a471c..c22c6123 100644 --- a/restful_server/qtip_server.py +++ b/restful_server/qtip_server.py @@ -130,8 +130,8 @@ default is 'compute' parser.add_argument('suite_name', type=str, required=False, default='compute', help='suite_name should be string') parser.add_argument('type', type=str, required=False, default='BM', help='type should be BM, VM and ALL') args = parser.parse_args() - if not args_handler.check_suit_in_test_list(args["suite_name"]): - return abort(404, 'message:Test Suit {0} does not exist in test_list'.format(args["suite_name"])) + if not args_handler.check_suite_in_test_list(args["suite_name"]): + return abort(404, 'message:Test suite {0} does not exist in test_list'.format(args["suite_name"])) if not args_handler.check_lab_name(args["pod_name"]): return abort(404, 'message: You have specified a lab {0}\ that is not present in test_cases'.format(args['pod_name'])) |