summaryrefslogtreecommitdiff
path: root/tests/aggregation
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-04 08:08:27 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit7119f40c9881666b6f9b5cf7df09ee1d21cc8344 (patch)
treefa50869f5614295f462d9bf77fec59365c621609 /tests/aggregation
parent9c19aff7c7561e3a82978a272ecdaad40dda5c00 (diff)
Refs #33476 -- Refactored code to strictly match 88 characters line length.
Diffstat (limited to 'tests/aggregation')
-rw-r--r--tests/aggregation/tests.py26
1 files changed, 19 insertions, 7 deletions
diff --git a/tests/aggregation/tests.py b/tests/aggregation/tests.py
index de63b375d4..c71fedec1b 100644
--- a/tests/aggregation/tests.py
+++ b/tests/aggregation/tests.py
@@ -140,7 +140,10 @@ class AggregateTestCase(TestCase):
)
cls.b6 = Book.objects.create(
isbn="155860191",
- name="Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp",
+ name=(
+ "Paradigms of Artificial Intelligence Programming: Case Studies in "
+ "Common Lisp"
+ ),
pages=946,
rating=5.0,
price=Decimal("75.00"),
@@ -249,7 +252,8 @@ class AggregateTestCase(TestCase):
"Practical Django Projects",
"Python Web Development with Django",
"Artificial Intelligence: A Modern Approach",
- "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp",
+ "Paradigms of Artificial Intelligence Programming: Case Studies in "
+ "Common Lisp",
],
lambda b: b.name,
)
@@ -326,7 +330,8 @@ class AggregateTestCase(TestCase):
[
("Artificial Intelligence: A Modern Approach", 2),
(
- "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp",
+ "Paradigms of Artificial Intelligence Programming: Case Studies in "
+ "Common Lisp",
1,
),
("Practical Django Projects", 1),
@@ -380,7 +385,8 @@ class AggregateTestCase(TestCase):
[
("Artificial Intelligence: A Modern Approach", 7),
(
- "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp",
+ "Paradigms of Artificial Intelligence Programming: Case Studies in "
+ "Common Lisp",
9,
),
("Practical Django Projects", 3),
@@ -418,7 +424,9 @@ class AggregateTestCase(TestCase):
"id": self.b1.id,
"isbn": "159059725",
"mean_age": 34.5,
- "name": "The Definitive Guide to Django: Web Development Done Right",
+ "name": (
+ "The Definitive Guide to Django: Web Development Done Right"
+ ),
"pages": 447,
"price": Approximate(Decimal("30")),
"pubdate": datetime.date(2007, 12, 6),
@@ -467,7 +475,9 @@ class AggregateTestCase(TestCase):
"id": self.b1.id,
"isbn": "159059725",
"mean_age": 34.5,
- "name": "The Definitive Guide to Django: Web Development Done Right",
+ "name": (
+ "The Definitive Guide to Django: Web Development Done Right"
+ ),
"pages": 447,
"price": Approximate(Decimal("30")),
"pubdate": datetime.date(2007, 12, 6),
@@ -1476,7 +1486,9 @@ class AggregateTestCase(TestCase):
[
{"name": "Practical Django Projects", "min_age": 34},
{
- "name": "The Definitive Guide to Django: Web Development Done Right",
+ "name": (
+ "The Definitive Guide to Django: Web Development Done Right"
+ ),
"min_age": 29,
},
],