Django

Code

Ticket #5981 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

regressiontests.cache.tests.Cache test failing with locmem cache backend

Reported by: gwilson Assigned to: nobody
Milestone: Component: Cache system
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

5981-1.diff (0.6 kB) - added by mattmcc on 11/19/07 21:50:17.

Change History

11/19/07 21:50:17 changed by mattmcc

  • attachment 5981-1.diff added.

11/20/07 01:52:00 changed by mattmcc

  • needs_better_patch changed.
  • has_patch set to 1.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

This patch seems to do the trick.

11/21/07 13:55:59 changed by gwilson

  • status changed from new to closed.
  • resolution set to fixed.

fixed in [6709].


Add/Change #5981 (regressiontests.cache.tests.Cache test failing with locmem cache backend)




Change Properties
Action