diff options
| author | Maxime Lorant <maxime.lorant@gmail.com> | 2015-08-31 22:14:35 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-08-31 17:37:21 -0400 |
| commit | 5153a3bfdcec82324d67ff79862384288cf6afe6 (patch) | |
| tree | a03c5ee4bdf3b5b6529df479fbac123a3065d82a /tests/delete_regress/tests.py | |
| parent | d4b10a725614322769a419180039771634a06571 (diff) | |
Fixed #25331 -- Removed trailing blank lines in docstrings.
Diffstat (limited to 'tests/delete_regress/tests.py')
| -rw-r--r-- | tests/delete_regress/tests.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/delete_regress/tests.py b/tests/delete_regress/tests.py index d03ce3771f..7cbd94f427 100644 --- a/tests/delete_regress/tests.py +++ b/tests/delete_regress/tests.py @@ -63,7 +63,6 @@ class DeleteCascadeTests(TestCase): """ Django cascades deletes through generic-related objects to their reverse relations. - """ person = Person.objects.create(name='Nelson Mandela') award = Award.objects.create(name='Nobel', content_object=person) @@ -81,7 +80,6 @@ class DeleteCascadeTests(TestCase): some other model has an FK to that through model, deletion is cascaded from one of the participants in the M2M, to the through model, to its related model. - """ juan = Child.objects.create(name='Juan') paints = Toy.objects.create(name='Paints') @@ -126,7 +124,6 @@ class DeleteCascadeTransactionTests(TransactionTestCase): def test_to_field(self): """ Cascade deletion works with ForeignKey.to_field set to non-PK. - """ apple = Food.objects.create(name="apple") Eaten.objects.create(food=apple, meal="lunch") @@ -156,7 +153,6 @@ class ProxyDeleteTest(TestCase): Tests on_delete behavior for proxy models. See #16128. - """ def create_image(self): """Return an Image referenced by both a FooImage and a FooFile.""" @@ -177,7 +173,6 @@ class ProxyDeleteTest(TestCase): """ Deleting the *proxy* instance bubbles through to its non-proxy and *all* referring objects are deleted. - """ self.create_image() @@ -195,7 +190,6 @@ class ProxyDeleteTest(TestCase): """ Deleting a proxy-of-proxy instance should bubble through to its proxy and non-proxy parents, deleting *all* referring objects. - """ test_image = self.create_image() @@ -221,7 +215,6 @@ class ProxyDeleteTest(TestCase): """ Deleting an instance of a concrete model should also delete objects referencing its proxy subclass. - """ self.create_image() @@ -244,7 +237,6 @@ class ProxyDeleteTest(TestCase): IntegrityError on databases unable to defer integrity checks). Refs #17918. - """ # Create an Image (proxy of File) and FooFileProxy (proxy of FooFile, # which has an FK to File) |
