Tests failing since Revision 16356
The testcase in contrib.formtools.wizard is failing since 16356 which is fixing Ticket #16182
Traceback (most recent call last):
File ".../django-source/django/contrib/formtools/wizard/tests/cookiestoragetests.py", line 38, in test_reset_cookie
self.assertEqual(response.cookies[storage.prefix].value, signed_cookie_data)
AssertionError: '{"key1":"value1"}:3iEGhRxR:tOAVBIdA8Zn6yntbOeqF0tr59Bg' != '{"key1":"value1"}:3iEGhRxS:228hK_rvMcdUO-sx_fUrS9YheP8'
Attachments
(1)
- ticket16222.diff
(1.6 KB
) - added by Jure Cuhalev <gandalf@…> 14 years ago.
- Test was failing because of the race condition that occurred now that there's a higher time precision. Fixed the test to check unsigned values and added additional asserts so that max_age condition gets checked.
Download all attachments as:
.zip
Change History
(6)
Cc: |
zerok@… added
|
Triage Stage: |
Unreviewed → Accepted
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Test was failing because of the race condition that occurred now that there's a higher time precision. Fixed the test to check unsigned values and added additional asserts so that max_age condition gets checked.