We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d3a0f5 commit c989085Copy full SHA for c989085
1 file changed
atwiki/test/test_core.py
@@ -93,9 +93,11 @@ def test_get_list_tag(self):
93
soup = self._api._request(self._uri.tag('曲', index=1))
94
last_index = 1
95
for link in soup.find('div', class_='cmd_tag').find_all('a'):
96
- if not link.attrs['href'].endswith('&p={}'.format(last_index + 1)):
+ if not link.attrs['href'].endswith('?p={}'.format(last_index + 1)):
97
break
98
last_index += 1
99
+ assert 750 <= last_index
100
+
101
pages = list(self._api.get_list('曲', _start=last_index))
102
assert 1 <= len(pages) <= 50
103
0 commit comments