Skip to content
Snippets Groups Projects
Commit a86dea29 authored by Carlos Martinez's avatar Carlos Martinez
Browse files

Fix extra continue on listings

parent 594bd9df
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,6 @@ class List(object):
if limit is None:
limit = site.api_limit
self.args[self.prefix + 'limit'] = str(limit)
if 'continue' not in self.args:
self.args['continue'] = ''
self.count = 0
self.max_items = max_items
......
......@@ -203,13 +203,13 @@ class TestPageApiArgs(unittest.TestCase):
args = self.get_last_api_call_args()
assert text == self.page_text
print 'args', args
assert args == {
'prop': 'revisions',
'rvdir': 'older',
'titles': self.page.page_title,
'rvprop': 'content|timestamp',
'rvlimit': '1',
'continue': ''
'rvlimit': '1'
}
def test_get_section_text(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment