https://bugzilla.wikimedia.org/show_bug.cgi?id=72169
Bug ID: 72169
Summary: querymodules deprecated
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: Unprioritized
Component: tests
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
test.wikidata (which is using code not deployed to the production wikis) builds
on travis are failing because paraminfo param querymodules has been deprecated
in the API, and one of our scripts exercises code which uses querymodules, and
our script test fails if the script has deprecated warnings.
FAIL: test_interwiki_simulate (tests.script_tests.TestScript)
Test running interwiki -simulate.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/wikimedia/pywikibot-core/tests/script_tests.py",
line 320, in testScript
self.assertNotIn('deprecated', result['stderr'].lower())
AssertionError: 'deprecated' unexpectedly found in 'warning: api warning
(paraminfo): the querymodules parameter has been deprecated.\nwhich page to
check: warning: api warning (paraminfo): the querymodules parameter has been
deprecated.\nretrieving 1 pages from wikidata:test.\nnote: [[test:test page]]
does not exist. skipping.\n======post-processing [[test:test page]]======\n'
--
You are receiving this mail because:
You are the assignee for the bug.