mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #21268 -- Fixed E303 pep8 warnings
This commit is contained in:
parent
65d1d65d52
commit
bab9123daa
53 changed files with 2 additions and 87 deletions
|
@ -178,7 +178,6 @@ class ProxyDeleteTest(TestCase):
|
|||
|
||||
return test_image
|
||||
|
||||
|
||||
def test_delete_proxy(self):
|
||||
"""
|
||||
Deleting the *proxy* instance bubbles through to its non-proxy and
|
||||
|
@ -197,7 +196,6 @@ class ProxyDeleteTest(TestCase):
|
|||
self.assertEqual(len(FooImage.objects.all()), 0)
|
||||
self.assertEqual(len(FooFile.objects.all()), 0)
|
||||
|
||||
|
||||
def test_delete_proxy_of_proxy(self):
|
||||
"""
|
||||
Deleting a proxy-of-proxy instance should bubble through to its proxy
|
||||
|
@ -224,7 +222,6 @@ class ProxyDeleteTest(TestCase):
|
|||
self.assertEqual(len(FooFile.objects.all()), 0)
|
||||
self.assertEqual(len(FooImage.objects.all()), 0)
|
||||
|
||||
|
||||
def test_delete_concrete_parent(self):
|
||||
"""
|
||||
Deleting an instance of a concrete model should also delete objects
|
||||
|
@ -244,7 +241,6 @@ class ProxyDeleteTest(TestCase):
|
|||
self.assertEqual(len(FooFile.objects.all()), 0)
|
||||
self.assertEqual(len(FooImage.objects.all()), 0)
|
||||
|
||||
|
||||
def test_delete_proxy_pair(self):
|
||||
"""
|
||||
If a pair of proxy models are linked by an FK from one concrete parent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue