#11505: Django's TestCase should reset the cache
-------------------------------------+-------------------------------------
     Reporter:  andrewfong           |                    Owner:
         Type:  New feature          |  andrewfong
    Component:  Testing framework    |                   Status:  assigned
     Severity:  Normal               |                  Version:  master
     Keywords:  cache testing flush  |               Resolution:
    Has patch:  1                    |             Triage Stage:  Accepted
  Needs tests:  0                    |      Needs documentation:  1
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by tchaumeny):

 I run into another example of tests depending on each other execution,
 because of the way `django.contrib.sites.models.Site` instances are cached
 in a global variable `SITE_CACHE`

 Reproductible with the command `python tests/runtests.py
 contenttypes_tests.tests.ContentTypesViewsTests.test_shortcut_with_absolute_url
 syndication_tests`

--
Ticket URL: <https://code.djangoproject.com/ticket/11505#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.7c7a90718448ac24d84d31d2eb5dd47e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to