diff options
author | Tim Graham <timograham@gmail.com> | 2015-06-18 16:25:32 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-06-18 16:25:32 -0400 |
commit | 0d97e73d95379722b8044fa09b1c1c4ee4c0a486 (patch) | |
tree | a5ed248a0116246cf94e993ae6a125caae8dbfec /tests/sites_tests | |
parent | 20c6ba6ffa9d68cad21fcfbdcb1a7d72eaee143c (diff) | |
download | django-0d97e73d95379722b8044fa09b1c1c4ee4c0a486.tar.gz |
Fixed reverse sites_tests failures introduced in refs #24834.
Diffstat (limited to 'tests/sites_tests')
-rw-r--r-- | tests/sites_tests/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sites_tests/tests.py b/tests/sites_tests/tests.py index 7d5dcf10bb..a5ce7a6779 100644 --- a/tests/sites_tests/tests.py +++ b/tests/sites_tests/tests.py @@ -27,6 +27,9 @@ class SitesFrameworkTests(TestCase): ) self.site.save() + def tearDown(self): + Site.objects.clear_cache() + def test_site_manager(self): # Make sure that get_current() does not return a deleted Site object. s = Site.objects.get_current() |