Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1300103?usp=email )
Change subject: [bugfix] user rights has been changed; update test accordingly
......................................................................
[bugfix] user rights has been changed; update test accordingly
Bug: T428736
Change-Id: I05c8521f084e657469f57acd7c704592c3df14e3
---
M pywikibot/site/_apisite.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py
index 76ea337..113e1a2 100644
--- a/pywikibot/site/_apisite.py
+++ b/pywikibot/site/_apisite.py
@@ -631,7 +631,7 @@
>>> info['groups']
['*']
>>> info['rights'] # doctest: +ELLIPSIS
- ['createaccount', 'read', 'edit', 'createpage', 'createtalk', ...]
+ ['createaccount', 'autocreateaccount', 'read', 'edit', ...]
>>> info['messages']
False
>>> del site.userinfo # delete userinfo cache
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1300103?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I05c8521f084e657469f57acd7c704592c3df14e3
Gerrit-Change-Number: 1300103
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]