File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def test_pagination():
2424 # The first page does not have a "previous" link
2525 assert r .html .findAll ("a" , text = "Previous" ) == []
2626 else :
27- (prev ,) = [ a ["href" ] for a in r .html .findAll ("a" , text = "Previous" )]
27+ (prev ,) = ( a ["href" ] for a in r .html .findAll ("a" , text = "Previous" ))
2828 assert c .get (prev ).html .select ("table a" ) == records_in_page
2929
3030 # Get the link to the next page or None if at the end
@@ -56,7 +56,7 @@ def test_non_aligned_page():
5656 assert [a .text for a in r .html .select ("table a" )] == [
5757 p .name for p in person_db [5 :15 ]
5858 ]
59- (prev_url ,) = [ a ["href" ] for a in r .html .findAll ("a" , text = "Previous" )]
59+ (prev_url ,) = ( a ["href" ] for a in r .html .findAll ("a" , text = "Previous" ))
6060 assert [a .text for a in c .get (prev_url ).html .select ("table a" )] == [
6161 p .name for p in person_db [:10 ]
6262 ]
You can’t perform that action at this time.
0 commit comments