summaryrefslogtreecommitdiff
path: root/tests/basic
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/basic
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/basic')
-rw-r--r--tests/basic/tests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/basic/tests.py b/tests/basic/tests.py
index f6eabfaed7..f8ec2715f6 100644
--- a/tests/basic/tests.py
+++ b/tests/basic/tests.py
@@ -179,7 +179,8 @@ class ModelInstanceCreationTests(TestCase):
# You can use 'in' to test for membership...
self.assertIn(a, Article.objects.all())
- # ... but there will often be more efficient ways if that is all you need:
+ # ... but there will often be more efficient ways if that is all you
+ # need:
self.assertTrue(Article.objects.filter(id=a.id).exists())
def test_save_primary_with_default(self):
@@ -785,7 +786,8 @@ class ManagerTest(SimpleTestCase):
It's particularly useful to prevent accidentally leaking new methods
into `Manager`. New `QuerySet` methods that should also be copied onto
- `Manager` will need to be added to `ManagerTest.QUERYSET_PROXY_METHODS`.
+ `Manager` will need to be added to
+ `ManagerTest.QUERYSET_PROXY_METHODS`.
"""
self.assertEqual(
sorted(BaseManager._get_queryset_methods(models.QuerySet)),