diff options
author | Loic Bistuer <loic.bistuer@sixmedia.com> | 2013-12-09 00:20:06 +0700 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2013-12-10 15:12:48 -0500 |
commit | a2814846ca006b4fbf3a893ec52cd9d444b3a3eb (patch) | |
tree | 780498814e830e2b8ee6ac435575afdc2e8e63f6 /tests/many_to_one | |
parent | 0873200e7f61315ad375061a3dc6d37b514ff985 (diff) | |
download | django-a2814846ca006b4fbf3a893ec52cd9d444b3a3eb.tar.gz |
Fixed E124 pep8 warnings.
Diffstat (limited to 'tests/many_to_one')
-rw-r--r-- | tests/many_to_one/tests.py | 5 |
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>", |