Mpaa added a comment.
In https://phabricator.wikimedia.org/T128994#2092448, @jayvdb wrote: > In https://phabricator.wikimedia.org/T128994#2092324, @Mpaa wrote: > > > I think it is already like that -> if not self._soup.find_all('a', attrs=attrs): > > > Yes, I see that. Hmm. Then the test suite is regularly purging the page, and these attributes, etc are disappearing every time?? This test class currently uses `cached = True`, which I guess should be removed as it is doing a purge operation, so I expect that the caching will be returning the pre-purge cached page text. Strange. The purge should happen only when the Index Page (on ws) for some reason has lost the info. It is not a "normal" situation. Maybe at some time, the test suite might cache page text that requires purging and sometimes might not. his might also explain why now this is showing up? TASK DETAIL https://phabricator.wikimedia.org/T128994 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa Cc: pywikibot-bugs-list, Mpaa, Aklapper, jayvdb _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
