mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
PEP8 cleanup
This commit is contained in:
parent
6e2b82fdf6
commit
f8df55050c
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ class GenericRelationTests(TestCase):
|
|||
def test_ticket_22998(self):
|
||||
related = Related.objects.create()
|
||||
content = Content.objects.create(related_obj=related)
|
||||
node = Node.objects.create(content=content)
|
||||
Node.objects.create(content=content)
|
||||
|
||||
# deleting the Related cascades to the Content cascades to the Node,
|
||||
# where the pre_delete signal should fire and prevent deletion.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue