Fix broken tests after API upgrade

This commit is contained in:
Paulus Schoutsen committed 2014-11-02 17:52:51 -08:00
1 parent 94d9cbf76e
commit 98c2f1ea42
3 files changed
+5 -19

No files matched your search

+2 -1
View File
@@ -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