X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=functest%2Fapi%2Fbase.py;h=75f059b742f973e435316ca8d3d5234dca590b0a;hb=5cb9051a0418815636a1d5df66940e168c4e0a56;hp=ffc5678607a63680a9e0275f74ec78db71607968;hpb=4fc36bd22dc753627d3768affdc8dfa87f711952;p=functest.git diff --git a/functest/api/base.py b/functest/api/base.py index ffc567860..75f059b74 100644 --- a/functest/api/base.py +++ b/functest/api/base.py @@ -45,6 +45,11 @@ class ApiResource(Resource): return action, args + def _get_args(self): # pylint: disable=no-self-use + """ Convert the unicode to string for request.args """ + args = api_utils.change_to_str_in_dict(request.args) + return args + def _dispatch_post(self): """ Dispatch request """ action, args = self._post_args()