summaryrefslogtreecommitdiff
path: root/tests/foreign_object
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/foreign_object
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/foreign_object')
-rw-r--r--tests/foreign_object/models/article.py4
-rw-r--r--tests/foreign_object/tests.py3
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/foreign_object/models/article.py b/tests/foreign_object/models/article.py
index dedeb8fb2d..276296c8d4 100644
--- a/tests/foreign_object/models/article.py
+++ b/tests/foreign_object/models/article.py
@@ -28,8 +28,8 @@ class ColConstraint:
class ActiveTranslationField(models.ForeignObject):
"""
- This field will allow querying and fetching the currently active translation
- for Article from ArticleTranslation.
+ This field will allow querying and fetching the currently active
+ translation for Article from ArticleTranslation.
"""
requires_unique_target = False
diff --git a/tests/foreign_object/tests.py b/tests/foreign_object/tests.py
index 696dfcd5fd..b4072d500d 100644
--- a/tests/foreign_object/tests.py
+++ b/tests/foreign_object/tests.py
@@ -72,7 +72,8 @@ class MultiColumnFKTests(TestCase):
getattr(membership, "person")
def test_reverse_query_returns_correct_result(self):
- # Creating a valid membership because it has the same country has the person
+ # Creating a valid membership because it has the same country has the
+ # person
Membership.objects.create(
membership_country_id=self.usa.id,
person_id=self.bob.id,