mirror of
https://github.com/django/django.git
synced 2025-03-25 08:40:45 +00:00
[1.6.x] PEP8 cleanup
Backport of f8df55050c from master
This commit is contained in:
parent
227a0f27a6
commit
9be56ec62c
@ -230,7 +230,7 @@ class GenericRelationTests(TestCase):
|
|||||||
def test_ticket_22998(self):
|
def test_ticket_22998(self):
|
||||||
related = Related.objects.create()
|
related = Related.objects.create()
|
||||||
content = Content.objects.create(related_obj=related)
|
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,
|
# deleting the Related cascades to the Content cascades to the Node,
|
||||||
# where the pre_delete signal should fire and prevent deletion.
|
# where the pre_delete signal should fire and prevent deletion.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user