summaryrefslogtreecommitdiffstats
path: root/restful_server/qtip_server.py
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-10-08 01:27:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-08 01:27:10 +0000
commit4603be9ac48b48be0d39e8473c30f17d0ff86388 (patch)
tree707541134c788db9cfb3d44906c9404f72d0a102 /restful_server/qtip_server.py
parenta5ec8f76b940183ba78f7086c0bb20053422dc67 (diff)
parentbfc96872dde7b0074b576a2ce384c808588193c1 (diff)
Merge "Rename `suit` to `suite`"
Diffstat (limited to 'restful_server/qtip_server.py')
-rw-r--r--restful_server/qtip_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/restful_server/qtip_server.py b/restful_server/qtip_server.py
index 81ce941e..565a0e5d 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']))