Fix broken tests after API upgrade
This commit is contained in:
1 parent
94d9cbf76e
commit
98c2f1ea42
3 files changed
+5
-19
No files matched your search
@@ -259,7 +259,8 @@ class RequestHandler(SimpleHTTPRequestHandler):
|
||||
self.server.logger.exception(
|
||||
"Exception parsing JSON: {}".format(body_content))
|
||||
|
||||
self.send_response(HTTP_UNPROCESSABLE_ENTITY)
|
||||
self._message(
|
||||
"Error parsing JSON", HTTP_UNPROCESSABLE_ENTITY)
|
||||
return
|
||||
else:
|
||||
data.update({key: value[-1] for key, value in
|
||||
|
||||
Reference in new issue
Block a user