mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #33476 -- Reformatted code with Black.
This commit is contained in:
committed by
Mariusz Felisiak
parent
f68fa8b45d
commit
9c19aff7c7
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user