#14329 closed (duplicate)
Seeing test failure in regressiontests.request since 13809
Reported by: | Gabriel Hurley | Owned by: | Gabriel Hurley |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I'm getting the following test failure when I run the test suite using sqlite on Windows XP with Python 2.6.5 since [13809]:
====================================================================== FAIL: Doctest: regressiontests.requests.tests ---------------------------------------------------------------------- File "[...]\django-trunk\tests\regressiontests\requests\tests.py ", line 55, in regressiontests.requests.tests Failed example: datetime_cookie['max-age'] Expected: 10 Got: 11
I don't have time to dig into it at the moment, but I'm guessing it's a timezone-related issue or something of the sort.
Change History (4)
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
yay! glad I'm not crazy.
I have the feeling the best solution here is just to convert that test to a unit test and use a less naive comparison for the max_age value... (we have always been at war with doctests)
Note:
See TracTickets
for help on using tickets.
Buildbots confirm: http://buildbot.djangoproject.com/builders/django-trunk%20ubuntu9.10-py2.6-sqlite/builds/841/steps/test/logs/stdio