Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
    13:35:37 ______________ [doctest] pywikibot.site._apisite.APISite.userinfo 
______________
    13:35:37 624         >>> info['id']  # returns 0 if no ip user
    13:35:37 625         ... # doctest: +SKIP
    13:35:37 626         0
    13:35:37 627         >>> info['name']  # username or ip
    13:35:37 628         ...
    13:35:37 629         ... # doctest: +SKIP
    13:35:37 630         '92.198.174.192'
    13:35:37 631         >>> info['groups']
    13:35:37 632         ['*']
    13:35:37 633         >>> info['rights']  # doctest: +ELLIPSIS
    13:35:37 Expected:
    13:35:37     ['createaccount', 'read', 'edit', 'createpage', 'createtalk', 
...]
    13:35:37 Got:
    13:35:37     ['createaccount', 'autocreateaccount', 'read', 'edit', 
'createpage', 'createtalk', 'viewmyprivateinfo', 'editmyprivateinfo', 
'editmyoptions', 'translate', 'urlshortener-create-url', 'centralauth-merge', 
'abusefilter-view', 'abusefilter-log', 'createpagemainns', 'unfuzzy', 
'translate-empty-category', 'echo-read-notifications', 'flow-hide', 
'flow-edit-title']

TASK DETAIL
  https://phabricator.wikimedia.org/T428736

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to