Kaydet (Commit) 0d97e73d authored tarafından Tim Graham's avatar Tim Graham

Fixed reverse sites_tests failures introduced in refs #24834.

üst 20c6ba6f
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment