Umherirrender added a subscriber: Umherirrender.
Umherirrender added a comment.

In https://phabricator.wikimedia.org/T108322#1524624, @Legoktm wrote:

> In https://phabricator.wikimedia.org/T108322#1523073, @Anomie wrote:
>
> > The API should be able to assume that extensions don't register unloadable 
> > classes as API modules. Violation of that basic assumption appears to have 
> > been the cause in both https://phabricator.wikimedia.org/T100775 and 
> > https://phabricator.wikimedia.org/T108317.
>
>
> Yeah it should. We can probably add a structure test for this? Something that 
> instantiates the API and attempts to instantiate all the available submodules 
> and recurse?


There is a test: https://gerrit.wikimedia.org/r/#/c/173874/ but each module 
with submodules have to add it own test, because there is no recursion (Which 
seems not done by Flow).

The Captcha problem would not detected because not all captcha types where 
tested (and that would not change a structure test because the list task is not 
resolved).


TASK DETAIL
  https://phabricator.wikimedia.org/T108322

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Umherirrender
Cc: Umherirrender, Legoktm, Anomie, Luke081515, greg, Aklapper, jayvdb, 
pywikibot-bugs-list, scfc, hashar, Malyacko



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to