mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
parent
4bb70cbcc6
commit
321e94fa41
185 changed files with 1216 additions and 1528 deletions
|
@ -128,7 +128,7 @@ class TestAsPrimaryKey(TestCase):
|
|||
u1 = PrimaryKeyUUIDModel()
|
||||
u2 = PrimaryKeyUUIDModel(id=None)
|
||||
PrimaryKeyUUIDModel.objects.bulk_create([u1, u2])
|
||||
# Check that the two objects were correctly created.
|
||||
# The two objects were correctly created.
|
||||
u1_found = PrimaryKeyUUIDModel.objects.filter(id=u1.id).exists()
|
||||
u2_found = PrimaryKeyUUIDModel.objects.exclude(id=u1.id).exists()
|
||||
self.assertTrue(u1_found)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue