Opened 17 years ago

Closed 17 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)

5981-1.diff (601 bytes ) - added by Matt McClanahan 17 years ago.

Download all attachments as: .zip

Change History (3)

by Matt McClanahan, 17 years ago

Attachment: 5981-1.diff added

comment:1 by Matt McClanahan, 17 years ago

Has patch: set
Triage Stage: UnreviewedReady for checkin

This patch seems to do the trick.

comment:2 by Gary Wilson, 17 years ago

Resolution: fixed
Status: newclosed

fixed in [6709].

Note: See TracTickets for help on using tickets.
Back to Top