RoySmith added a comment.

  OK, I mostly understand what's happening here.   My user-config.py defines 
oauth credentials for {en,test}.wikipedia.org, and those credentials were 
created to only be valid on those specific projects 
<https://meta.wikimedia.org/wiki/Special:OAuthListConsumers/view/505989752f68f2af44b87e2ff0e755fc>.
  test_create_short_link() forces a login to meta, and that's one of the ways 
this fails.
  
  I think the bottom line here is that the pywikibot system as a whole depends 
to much on external resources (such as user-config.py) which makes the test 
suite fragile.  There really needs to be a way for the test framework to supply 
a complete configuration without looking at an external configuration file.

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

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

To: RoySmith
Cc: Aklapper, pywikibot-bugs-list, RoySmith, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Framawiki, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, 
mys_721tx, Xqt, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org

Reply via email to