Skip to content

Commit

Permalink
Make test_randompages work with latest mwclient
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo committed Oct 25, 2014
1 parent 623c9d1 commit 1d70108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test_randompages.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_randompages():
def check_randompage(pagename):
logger.debug('Page: %s', pagename)
page = site.pages[pagename]
inputtxt = page.edit(readonly=True)
inputtxt = page.edit()
dp = TemplateEditor(inputtxt)
outputtxt = dp.wikitext()

Expand Down

0 comments on commit 1d70108

Please sign in to comment.