Skip to content

Commit 567f65a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a7be318 commit 567f65a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: docs/tests.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -236,16 +236,14 @@ def test_search_type_filter(self):
236236
"Only 1 result for <em>generic</em> in version 5.1",
237237
html=True,
238238
)
239-
self.assertContains(response,"tab active", count=1)
239+
self.assertContains(response, "tab active", count=1)
240240
self.assertContains(
241241
response,
242242
f'<a class="tab active" aria-disabled="true" aria-current="page">{title}</a>',
243243
html=True,
244244
)
245245
self.assertContains(
246-
response,
247-
'<a class="tab" href="?q=generic">All</a>',
248-
html=True
246+
response, '<a class="tab" href="?q=generic">All</a>', html=True
249247
)
250248

251249
with self.subTest(type="all"):
@@ -259,7 +257,9 @@ def test_search_type_filter(self):
259257
)
260258
self.assertContains(response, "tab active", count=1)
261259
self.assertContains(
262-
response, '<a class="tab active" aria-disabled="true" aria-current="page">All</a>', html=True
260+
response,
261+
'<a class="tab active" aria-disabled="true" aria-current="page">All</a>',
262+
html=True,
263263
)
264264

265265

0 commit comments

Comments
 (0)