Opened 18 years ago
Closed 18 years ago
#5981 closed (fixed)
regressiontests.cache.tests.Cache test failing with locmem cache backend
| Reported by: | Gary Wilson | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Cache system) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Failure text:
======================================================================
FAIL: test_add (regressiontests.cache.tests.Cache)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/local/bzr/django/upstream/tests/regressiontests/cache/tests.py", line 29, in test_add
self.assertEqual(cache.get("addkey1"), "value")
AssertionError: None != 'value'
----------------------------------------------------------------------
Ran 214 tests in 174.491s
FAILED (failures=1)
with cache settings:
CACHE_BACKEND = 'locmem:///' CACHE_MIDDLEWARE_SECONDS = 600
Attachments (1)
Change History (3)
by , 18 years ago
| Attachment: | 5981-1.diff added |
|---|
comment:1 by , 18 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Unreviewed → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
This patch seems to do the trick.