Xqt created this task.
Xqt added a project: Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.
TASK DESCRIPTION
`pwb.py` wrapper is able to handle global args like `-lang` and `-family`
settings. The doc says:
"""
python pwb.py <pwb options> <name_of_script> <options>
Currently <pwb options> are global options. This can be used for tests
to set the default site like (see T216825):
python pwb.py -lang:de bot_tests -v
"""
But global option setting is ignored if running `script_test.py` because
their own environment is executed with `pwb_execute` function
TASK DETAIL
https://phabricator.wikimedia.org/T250034
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, Zkhalido, Viztor, Wenyi, Tbscho, MayS,
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti,
Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs