mirror of
https://github.com/django/django.git
synced 2025-09-28 21:14:55 +00:00
Fixed #15622 -- Clear content type cache to avoid problems with subsequence TransactionTestCases. Thanks to zyga for the report
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b49ee91eb3
commit
354aa941b6
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ class ContentTypesTests(TestCase):
|
|||
def tearDown(self):
|
||||
settings.DEBUG = self.old_DEBUG
|
||||
Site._meta.installed = self.old_Site_meta_installed
|
||||
ContentType.objects.clear_cache()
|
||||
|
||||
def test_lookup_cache(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue