summaryrefslogtreecommitdiff
path: root/tests/many_to_one
diff options
context:
space:
mode:
authorLoic Bistuer <loic.bistuer@sixmedia.com>2013-12-09 00:20:06 +0700
committerTim Graham <timograham@gmail.com>2013-12-10 15:12:48 -0500
commita2814846ca006b4fbf3a893ec52cd9d444b3a3eb (patch)
tree780498814e830e2b8ee6ac435575afdc2e8e63f6 /tests/many_to_one
parent0873200e7f61315ad375061a3dc6d37b514ff985 (diff)
downloaddjango-a2814846ca006b4fbf3a893ec52cd9d444b3a3eb.tar.gz
Fixed E124 pep8 warnings.
Diffstat (limited to 'tests/many_to_one')
-rw-r--r--tests/many_to_one/tests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/many_to_one/tests.py b/tests/many_to_one/tests.py
index 8f1f7fc926..cefe74b95e 100644
--- a/tests/many_to_one/tests.py
+++ b/tests/many_to_one/tests.py
@@ -178,8 +178,9 @@ class ManyToOneTests(TestCase):
])
# ... and should work fine with the unicode that comes out of forms.Form.cleaned_data
self.assertQuerysetEqual(
- Article.objects.filter(reporter__first_name__exact='John'
- ).extra(where=["many_to_one_reporter.last_name='%s'" % 'Smith']),
+ (Article.objects
+ .filter(reporter__first_name__exact='John')
+ .extra(where=["many_to_one_reporter.last_name='%s'" % 'Smith'])),
[
"<Article: John's second story>",
"<Article: This is a test>",