aboutsummaryrefslogtreecommitdiffstats
path: root/functest/api/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/api/base.py')
-rw-r--r--functest/api/base.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/functest/api/base.py b/functest/api/base.py
index ffc56786..75f059b7 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()