summaryrefslogtreecommitdiff
path: root/tests/sites_tests/tests.py
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2025-07-22 20:41:41 -0700
committernessita <124304+nessita@users.noreply.github.com>2025-07-23 20:17:55 -0300
commit69a93a88edb56ba47f624dac7a21aacc47ea474f (patch)
treef57507a4435d032493cae40e06ecb254790b67b2 /tests/sites_tests/tests.py
parent55b0cc21310b76ce4018dd793ba50556eaf0af06 (diff)
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
Diffstat (limited to 'tests/sites_tests/tests.py')
-rw-r--r--tests/sites_tests/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sites_tests/tests.py b/tests/sites_tests/tests.py
index 4f5b07ee8f..79183f7aca 100644
--- a/tests/sites_tests/tests.py
+++ b/tests/sites_tests/tests.py
@@ -38,8 +38,8 @@ class SitesFrameworkTests(TestCase):
Site.objects.get_current()
def test_site_cache(self):
- # After updating a Site object (e.g. via the admin), we shouldn't return a
- # bogus value from the SITE_CACHE.
+ # After updating a Site object (e.g. via the admin), we shouldn't
+ # return a bogus value from the SITE_CACHE.
site = Site.objects.get_current()
self.assertEqual("example.com", site.name)
s2 = Site.objects.get(id=settings.SITE_ID)