summaryrefslogtreecommitdiff
path: root/tests/delete_regress
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@memset.com>2013-10-18 00:58:02 +0100
committerAlasdair Nicol <alasdair@memset.com>2013-10-18 01:46:24 +0100
commitbab9123daa5d05150951f74183906a76d2b0cf27 (patch)
tree4fc24535f85f84c69e64c6eac654294725d906df /tests/delete_regress
parent65d1d65d52a87bba22845bcb7c3c921a8789ec19 (diff)
downloaddjango-bab9123daa5d05150951f74183906a76d2b0cf27.tar.gz
Fixed #21268 -- Fixed E303 pep8 warnings
Diffstat (limited to 'tests/delete_regress')
-rw-r--r--tests/delete_regress/tests.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/delete_regress/tests.py b/tests/delete_regress/tests.py
index 7fbb09f439..95e39cbbf8 100644
--- a/tests/delete_regress/tests.py
+++ b/tests/delete_regress/tests.py
@@ -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