mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
@@ -159,7 +159,9 @@ class DeleteCascadeTransactionTests(TransactionTestCase):
|
||||
|
||||
class LargeDeleteTests(TestCase):
|
||||
def test_large_deletes(self):
|
||||
"Regression for #13309 -- if the number of objects > chunk size, deletion still occurs"
|
||||
"""
|
||||
If the number of objects > chunk size, deletion still occurs.
|
||||
"""
|
||||
for x in range(300):
|
||||
Book.objects.create(pagecount=x + 100)
|
||||
# attach a signal to make sure we will not fast-delete
|
||||
|
||||
Reference in New Issue
Block a user