Framawiki has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/400698 )
Change subject: [TEST] Move testpage to user namespace
......................................................................
[TEST] Move testpage to user namespace
To avoid page deletion for inactivity
Change-Id: Ia99994dcda6a42284bfcaa2023c950edc8aa85fe
---
M tests/api_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/98/400698/1
diff --git a/tests/api_tests.py b/tests/api_tests.py
index 9036102..42f476e 100644
--- a/tests/api_tests.py
+++ b/tests/api_tests.py
@@ -968,7 +968,7 @@
"""Test the bad token recovery by corrupting the cache."""
site = self.get_site()
site.tokens._tokens.setdefault(site.user(), {})['edit'] = 'INVALID'
- page = pywikibot.Page(site, 'Pywikibot bad token test')
+ page = pywikibot.Page(site, 'User:Framawiki/pwb_tests/bad_token')
page.text = ('This page is testing whether pywikibot-core rerequests '
'a token when a badtoken error was received.')
page.save(summary='Bad token test')
--
To view, visit https://gerrit.wikimedia.org/r/400698
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia99994dcda6a42284bfcaa2023c950edc8aa85fe
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Framawiki <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits