File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -236,16 +236,14 @@ def test_search_type_filter(self):
236
236
"Only 1 result for <em>generic</em> in version 5.1" ,
237
237
html = True ,
238
238
)
239
- self .assertContains (response ,"tab active" , count = 1 )
239
+ self .assertContains (response , "tab active" , count = 1 )
240
240
self .assertContains (
241
241
response ,
242
242
f'<a class="tab active" aria-disabled="true" aria-current="page">{ title } </a>' ,
243
243
html = True ,
244
244
)
245
245
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
249
247
)
250
248
251
249
with self .subTest (type = "all" ):
@@ -259,7 +257,9 @@ def test_search_type_filter(self):
259
257
)
260
258
self .assertContains (response , "tab active" , count = 1 )
261
259
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 ,
263
263
)
264
264
265
265
You can’t perform that action at this time.
0 commit comments