summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorIan Clelland <ian@fullfactor.com>2012-09-28 00:20:01 -0700
committerLuke Plant <L.Plant.98@cantab.net>2012-12-24 02:19:16 +0000
commit515cf94b6031cd03039d2a6617969b673eacf848 (patch)
tree728b9c2d71aa86511d2117d5ced0906d3433298b /django
parent5eba053459272dce908656a5bfca2c6bab2cfc76 (diff)
[1.5.x] Use new TestCase methods for equality comparisons
Backport of 8d35fd4c327e05b63c72a1c1e9a4a68de4dddcf0 from master
Diffstat (limited to 'django')
-rw-r--r--django/contrib/formtools/tests/wizard/cookiestorage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/formtools/tests/wizard/cookiestorage.py b/django/contrib/formtools/tests/wizard/cookiestorage.py
index d450f47861..3f26b85f7d 100644
--- a/django/contrib/formtools/tests/wizard/cookiestorage.py
+++ b/django/contrib/formtools/tests/wizard/cookiestorage.py
@@ -43,5 +43,5 @@ class TestCookieStorage(TestStorage, TestCase):
storage.init_data()
storage.update_response(response)
unsigned_cookie_data = cookie_signer.unsign(response.cookies[storage.prefix].value)
- self.assertEqual(json.loads(unsigned_cookie_data),
+ self.assertJSONEqual(unsigned_cookie_data,
{"step_files": {}, "step": None, "extra_data": {}, "step_data": {}})