Refs #33476 -- Reformatted code with Black.

This commit is contained in:
django-bot 2022-02-03 20:24:19 +01:00 committed by Mariusz Felisiak
parent f68fa8b45d
commit 9c19aff7c7
1992 changed files with 139577 additions and 96284 deletions

View file

@ -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,
)