1. Tim Savage
  2. django-extras

Commits

Tim Savage  committed b8962fc Draft

Corrected test case

  • Participants
  • Parent commits 12cd043
  • Branches default

Comments (0)

Files changed (1)

File django_extras/tests/http/responses.py

View file
         })
 
         actual = ''.join(target)
-        self.assertEqual(actual, '{"foo": "bar", "eek": "2012-06-25T11:09:48"}')
-        self.assertEqual(target['Content-Type'], 'application/json')
+        self.assertEqual('{"foo": "bar", "eek": "2012-06-25 11:09:48"}', actual)
+        self.assertEqual('application/json', target['Content-Type'])