jayvdb added a comment.
This fix is causing a problem in one specific test. My initial impression is
that the assertion in the test isnt particularly useful, but it wouldnt be hard
to work around it if the assertion is useful.
======================================================================
FAIL: Test init where it first adds query and then main.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/jayvdb/pywikibot-core/tests/api_tests.py", line
192, in test_init_query_first
pi._init()
File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line
251, in _init
self._parse_help(_mw_ver)
File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line
375, in _parse_help
self._generate_submodules(['main'])
File "/home/travis/build/jayvdb/pywikibot-core/tests/api_tests.py", line
182, in patched_generate_submodules
assert 'query' in modules
AssertionError
TASK DETAIL
https://phabricator.wikimedia.org/T115439
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: gerritbot, Aklapper, jayvdb, pywikibot-bugs-list
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs