Code Review
/
functest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Leverage on Xtesting
[functest.git]
/
functest
/
api
/
base.py
diff --git
a/functest/api/base.py
b/functest/api/base.py
index
ffc5678
..
75f059b
100644
(file)
--- a/
functest/api/base.py
+++ b/
functest/api/base.py
@@
-45,6
+45,11
@@
class ApiResource(Resource):
return action, args
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()
def _dispatch_post(self):
""" Dispatch request """
action, args = self._post_args()