| Xqt added a comment. |
In such case I wouldn’t expect the item when retrieving create protected pages from api or seeing that flag as page property anyway.
We always assumed a connection which isn’t given in our code test to check if it works in the right way. Now I learned that create protected pages may exist and if so they doesn’t have a create protecting flag. Sounds odd to me and seems impossible to verify that the retrieved pages have the expected property i.e. the code works right.
No ideas yet except
- remove this page.exists() test
- reduce the number of retrieved pages which could reduce failing time a bit but for bigger Wikis only
- use another site until the problem comes again
- skip this site from testing
- allow that single test to fail and print the reason like now
- ...
TASK DETAIL
EMAIL PREFERENCES
To: Xqt
Cc: Anomie, Dvorapa, gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Xqt, Wenyi, Tbscho, MayS, Sethakill, Mdupont, JJMC89, dg711, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy, Krenair, Legoktm
Cc: Anomie, Dvorapa, gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Xqt, Wenyi, Tbscho, MayS, Sethakill, Mdupont, JJMC89, dg711, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy, Krenair, Legoktm
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
