In T243663#5831735, @Xqt wrote:There should a way implemented to login with a sysop account at travis. Not sure whether we have one but I guess we had it.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| [tests] Add tests for sysop rights | pywikibot/core | master | +99 -0 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Xqt | T57296 Wikia Helper and Staff rights | |||
| Resolved | Huji | T75545 Support Portuguese wiki flag 'eliminator' | |||
| Resolved | Huji | T122705 delete.py asks for password on *every* deletion | |||
| Declined | None | T98607 -user: is ignored for sysop actions | |||
| Resolved | Huji | T119335 as_group='sysop' not working properly | |||
| Declined | jayvdb | T67196 Cannot be logged in as user and sysop at the same time | |||
| Resolved | None | T114807 Editing as sysop doesn't work | |||
| Resolved | None | T152375 Sysop not authorized to (un)delete pages on wikipedia | |||
| Resolved | Huji | T71283 dualism between user and sysop needs to be overtaken | |||
| Resolved | BUG REPORT | Xqt | T233577 sysopnames are still required for tests | ||
| Resolved | Xqt | T245851 Run a CI test using sysop account |
Event Timeline
Comment Actions
@Xqt where do the tests get executed currently? On test.wikipedia.org or somewhere else? Asking to know where we need to have the sysop account set up.
Comment Actions
We run tests on several sites including some outside of the wikimedia cluster. There are some default sites where the most tests are made. Appveyer uses wikipedia:en as default. On github action there are several default sites defined in a matrix, see https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/cb8f7dc864e5788e581f95d2ad770681e2678951/.github/workflows/pywikibot-ci.yml
I activated write tests recently for wikipedia:tests. I don't think that they will be runned on other sites, perhaps on wikidata:tests. Write tests are restricted by the aspects.SiteWriteMixin class to run on test sites only. To test user rights like sysop bots wikipedia:test would be appropriate I guess.
Comment Actions
Change 1003022 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] [tests] Add tests for sysop rights
Comment Actions
Change 1003022 merged by Xqt:
[pywikibot/core@master] [tests] Add tests for sysop rights