summaryrefslogtreecommitdiff
path: root/tests/aggregation
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-24 10:30:03 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-24 10:30:03 -0700
commit9bf5610890530ce5db9af7ef89ae5b8612f46a94 (patch)
treef461664da084539144e15ca0074e4bdda7bfd635 /tests/aggregation
parent382d324ccc0753962ec31ac23a4bde4fb2b9454e (diff)
Start attacking E231 violations
Diffstat (limited to 'tests/aggregation')
-rw-r--r--tests/aggregation/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/aggregation/tests.py b/tests/aggregation/tests.py
index 5abd4aaf6c..eee61654bc 100644
--- a/tests/aggregation/tests.py
+++ b/tests/aggregation/tests.py
@@ -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")