mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user