mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
@@ -227,8 +227,7 @@ class TestDefer2(AssertionMixin, TestCase):
|
||||
"""
|
||||
When an inherited model is fetched from the DB, its PK is also fetched.
|
||||
When getting the PK of the parent model it is useful to use the already
|
||||
fetched parent model PK if it happens to be available. Tests that this
|
||||
is done.
|
||||
fetched parent model PK if it happens to be available.
|
||||
"""
|
||||
s1 = Secondary.objects.create(first="x1", second="y1")
|
||||
bc = BigChild.objects.create(name="b1", value="foo", related=s1,
|
||||
|
||||
Reference in New Issue
Block a user