diff options
| author | Alasdair Nicol <alasdair@thenicols.net> | 2013-10-20 00:33:10 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-21 08:31:30 -0400 |
| commit | b289fcf1bfeaa717ed465b2529a275b61dc02d92 (patch) | |
| tree | 1b43958bb74005ccb93f3cd12ce4bc13d9747ab2 /tests/generic_relations/tests.py | |
| parent | a3690168cbde5e7bee16443569ad3dedd2466af7 (diff) | |
Fixed #21288 -- Fixed E126 pep8 warnings
Diffstat (limited to 'tests/generic_relations/tests.py')
| -rw-r--r-- | tests/generic_relations/tests.py | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/generic_relations/tests.py b/tests/generic_relations/tests.py index 9c3ba1767d..60821903d9 100644 --- a/tests/generic_relations/tests.py +++ b/tests/generic_relations/tests.py @@ -98,23 +98,23 @@ class GenericRelationsTests(TestCase): ) self.assertQuerysetEqual(TaggedItem.objects.all(), [ - ('clearish', Mineral, quartz.pk), - ('fatty', Animal, platypus.pk), - ('fatty', Vegetable, bacon.pk), - ('hairy', Animal, lion.pk), - ('salty', Vegetable, bacon.pk), - ('shiny', Animal, platypus.pk), - ('yellow', Animal, lion.pk) + ('clearish', Mineral, quartz.pk), + ('fatty', Animal, platypus.pk), + ('fatty', Vegetable, bacon.pk), + ('hairy', Animal, lion.pk), + ('salty', Vegetable, bacon.pk), + ('shiny', Animal, platypus.pk), + ('yellow', Animal, lion.pk) ], comp_func ) lion.delete() self.assertQuerysetEqual(TaggedItem.objects.all(), [ - ('clearish', Mineral, quartz.pk), - ('fatty', Animal, platypus.pk), - ('fatty', Vegetable, bacon.pk), - ('salty', Vegetable, bacon.pk), - ('shiny', Animal, platypus.pk) + ('clearish', Mineral, quartz.pk), + ('fatty', Animal, platypus.pk), + ('fatty', Vegetable, bacon.pk), + ('salty', Vegetable, bacon.pk), + ('shiny', Animal, platypus.pk) ], comp_func ) @@ -124,11 +124,11 @@ class GenericRelationsTests(TestCase): quartz_pk = quartz.pk quartz.delete() self.assertQuerysetEqual(TaggedItem.objects.all(), [ - ('clearish', Mineral, quartz_pk), - ('fatty', Animal, platypus.pk), - ('fatty', Vegetable, bacon.pk), - ('salty', Vegetable, bacon.pk), - ('shiny', Animal, platypus.pk) + ('clearish', Mineral, quartz_pk), + ('fatty', Animal, platypus.pk), + ('fatty', Vegetable, bacon.pk), + ('salty', Vegetable, bacon.pk), + ('shiny', Animal, platypus.pk) ], comp_func ) @@ -138,10 +138,10 @@ class GenericRelationsTests(TestCase): tag.delete() self.assertQuerysetEqual(bacon.tags.all(), ["<TaggedItem: salty>"]) self.assertQuerysetEqual(TaggedItem.objects.all(), [ - ('clearish', Mineral, quartz_pk), - ('fatty', Animal, platypus.pk), - ('salty', Vegetable, bacon.pk), - ('shiny', Animal, platypus.pk) + ('clearish', Mineral, quartz_pk), + ('fatty', Animal, platypus.pk), + ('salty', Vegetable, bacon.pk), + ('shiny', Animal, platypus.pk) ], comp_func ) |
