Changes between Initial Version and Version 1 of Ticket #14446


Ignore:
Timestamp:
Oct 30, 2010, 4:03:57 PM (14 years ago)
Author:
Gabriel Hurley
Comment:

I can confirm that this patch fixes this test failure, specifically:

======================================================================
FAIL: test_confirm_valid (django.contrib.auth.tests.views.PasswordResetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Development\django\trunk\django\contrib\auth\tests\views.py", line 91, in test_confirm_valid
    self.assert_("Please enter your new password" in response.content)
AssertionError: False is not True

----------------------------------------------------------------------

The other 11 errors remaining when running the tests under these conditions are still related to #14105.

Updated the description to make it easier to duplicate if anyone else wants to check it prior to committing. Marking as RFC.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14446

    • Property Triage Stage UnreviewedReady for checkin
  • Ticket #14446 – Description

    initial v1  
    55To reproduce:
    66{{{
    7 1. Start a new project. Add  django.contrib.admin  and setup a sqlite database. Test result: OK.
     71. Start a new project. Add  django.contrib.admin  and setup a sqlite database. Run manage.py test auth. Result: OK.
    88
    9 2. Add the required cache settings and the update/fetch middleware. Tests result: FAILED (failures=1, errors=27)
     92. Relevant bits of settings.py:
     10
     11    MIDDLEWARE_CLASSES = (
     12        'django.middleware.cache.UpdateCacheMiddleware',
     13        'django.middleware.common.CommonMiddleware',
     14        'django.middleware.cache.FetchFromCacheMiddleware,
     15    )
     16    CACHE_BACKEND = 'locmem://'
     17
     18Run manage.py test auth. Result: (failures=1, errors=11)
    1019}}}
    1120
Back to Top