1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Start attacking E231 violations

This commit is contained in:
Alex Gaynor
2013-10-24 10:30:03 -07:00
parent 382d324ccc
commit 9bf5610890
31 changed files with 92 additions and 90 deletions

View File

@@ -340,7 +340,7 @@ class BaseAggregateTestCase(TestCase):
price=Decimal("1000"),
publisher=p,
contact_id=1,
pubdate=datetime.date(2008,12,1)
pubdate=datetime.date(2008, 12, 1)
)
Book.objects.create(
name='ExpensiveBook2',
@@ -350,7 +350,7 @@ class BaseAggregateTestCase(TestCase):
price=Decimal("1000"),
publisher=p,
contact_id=1,
pubdate=datetime.date(2008,12,2)
pubdate=datetime.date(2008, 12, 2)
)
Book.objects.create(
name='ExpensiveBook3',
@@ -360,7 +360,7 @@ class BaseAggregateTestCase(TestCase):
price=Decimal("35"),
publisher=p,
contact_id=1,
pubdate=datetime.date(2008,12,3)
pubdate=datetime.date(2008, 12, 3)
)
publishers = Publisher.objects.annotate(num_books=Count("book__id")).filter(num_books__gt=1).order_by("pk")