mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
Refs #33476 -- Reformatted code with Black.
This commit is contained in:
parent
f68fa8b45d
commit
9c19aff7c7
1992 changed files with 139577 additions and 96284 deletions
|
@ -16,27 +16,31 @@ class MethodsTests(TestCase):
|
|||
|
||||
self.assertFalse(a.was_published_today())
|
||||
self.assertQuerysetEqual(
|
||||
a.articles_from_same_day_1(), [
|
||||
a.articles_from_same_day_1(),
|
||||
[
|
||||
"Beatles reunite",
|
||||
],
|
||||
lambda a: a.headline,
|
||||
)
|
||||
self.assertQuerysetEqual(
|
||||
a.articles_from_same_day_2(), [
|
||||
a.articles_from_same_day_2(),
|
||||
[
|
||||
"Beatles reunite",
|
||||
],
|
||||
lambda a: a.headline
|
||||
lambda a: a.headline,
|
||||
)
|
||||
|
||||
self.assertQuerysetEqual(
|
||||
b.articles_from_same_day_1(), [
|
||||
b.articles_from_same_day_1(),
|
||||
[
|
||||
"Parrot programs in Python",
|
||||
],
|
||||
lambda a: a.headline,
|
||||
)
|
||||
self.assertQuerysetEqual(
|
||||
b.articles_from_same_day_2(), [
|
||||
b.articles_from_same_day_2(),
|
||||
[
|
||||
"Parrot programs in Python",
|
||||
],
|
||||
lambda a: a.headline
|
||||
lambda a: a.headline,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue