Skip to content
Snippets Groups Projects
Unverified Commit eaf3924b authored by Aarif's avatar Aarif Committed by GitHub
Browse files

Merge pull request #21680 from edx/BOM-483

BOM-483
parents f43fd893 098bce23
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ class JsonResponseTestCase(unittest.TestCase):
def test_string(self):
resp = JsonResponse("foo")
self.assertEqual(resp.content, '"foo"')
self.assertEqual(resp.content.decode('utf-8'), '"foo"')
self.assertEqual(resp.status_code, 200)
self.assertEqual(resp["content-type"], "application/json")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment