Merge "Fix SLO test with old simplejson"

This commit is contained in:
Jenkins
2014-07-01 21:11:52 +00:00
committed by Gerrit Code Review

View File

@@ -821,8 +821,8 @@ class TestSloGetManifest(SloTestCase):
headers)
try:
resp_data = json.loads(body)
except json.JSONDecodeError:
resp_data = None
except ValueError:
self.fail("Invalid JSON in manifest GET: %r" % body)
self.assertEqual(
resp_data,