Xqt added a comment.
In T244062#6017699 <https://phabricator.wikimedia.org/T244062#6017699>, @Dvorapa wrote: > Shouldn't we login to meta in the create_shortlink method itself? Rather than workaround it in tests? I thought that unified global account are logged in automatically. Seems that isn't here, probably due to login/logout tests or something else. I never saw this failure locally. I think for a logged in bot it works independently of the site. But here in test environment it does not. Probable the test class can be switched to DefaultSiteTestCase but with additional login at meta within setUpClass. TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Legoktm, revi, Dvorapa, Aklapper, pywikibot-bugs-list, Xqt, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
