Bugfix: dict don't have startwith method error when use API to run test case 67/25167/1
authorchenjiankun <chenjiankun1@huawei.com>
Tue, 29 Nov 2016 17:02:07 +0000 (17:02 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Tue, 29 Nov 2016 17:02:07 +0000 (17:02 +0000)
commit136684a74580fe3e891c4cbc17aab5074614b3c0
treeff1bb809daa22232564952f0c7e0e21a7dd5abde
parent893294646833bed300586ee36040d4fde3c20842
Bugfix: dict don't have startwith method error when use API to run test case

JIRA: YARDSTICK-431

When use API to run test case and set the task-args args, it will
encounter a error of dict object do not have startwith method.
The reason is yardstick will only accept the str type.
So we need to change the dict to str.

Change-Id: I26aac35c477842ab9cd692bdacd401e68673b01d
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
api/utils/common.py