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/admin_views | |
| parent | d4b10a725614322769a419180039771634a06571 (diff) | |
Fixed #25331 -- Removed trailing blank lines in docstrings.
Diffstat (limited to 'tests/admin_views')
| -rw-r--r-- | tests/admin_views/tests.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 12241ecb97..79db4a3712 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -2129,7 +2129,6 @@ class AdminViewDeletedObjectsTest(TestCase): """ Cyclic relationships should still cause each object to only be listed once. - """ one = '<li>Cyclic one: <a href="%s">I am recursive</a>' % ( reverse('admin:admin_views_cyclicone_change', args=(self.cy1.pk,)), @@ -2181,7 +2180,6 @@ class AdminViewDeletedObjectsTest(TestCase): If a deleted object has two relationships from another model, both of those should be followed in looking for related objects to delete. - """ should_contain = '<li>Plot: <a href="%s">World Domination</a>' % reverse( 'admin:admin_views_plot_change', args=(self.pl1.pk,) @@ -2196,7 +2194,6 @@ class AdminViewDeletedObjectsTest(TestCase): If a deleted object has two relationships pointing to it from another object, the other object should still only be listed once. - """ should_contain = '<li>Plot: <a href="%s">World Peace</a></li>' % reverse( 'admin:admin_views_plot_change', args=(self.pl2.pk,) @@ -2209,7 +2206,6 @@ class AdminViewDeletedObjectsTest(TestCase): In the case of an inherited model, if either the child or parent-model instance is deleted, both instances are listed for deletion, as well as any relationships they have. - """ should_contain = [ '<li>Villain: <a href="%s">Bob</a>' % reverse('admin:admin_views_villain_change', args=(self.sv1.pk,)), @@ -2228,7 +2224,6 @@ class AdminViewDeletedObjectsTest(TestCase): """ If a deleted object has GenericForeignKeys pointing to it, those objects should be listed for deletion. - """ plot = self.pl3 tag = FunkyTag.objects.create(content_object=plot, name='hott') |
