There where an old pagegenerators.handleArgs() option set which like '-movelog' which is deprecated now. On the other hand it also accepts -anything_which_ends_with_log as a valid option but an exception should be raised instead.
Any fix for this bug should also remove unittest.expectedFailure decorator at pagegenerators_tests.TestLogeventsFactoryGenerator.test_logevents_parse()
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[bugfix] Throw an error for incorrect logtypes for pagegenerators.handleArgs() | pywikibot/core | master | +15 -8 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T152961 Improve tests suite | |||
Open | None | T129368 Usages of unittest.expectedFailure or unittest.skip should be solved (goal) | |||
Resolved | Xqt | T130928 Throw an error for incorrect logtypes for pagegenerators.handleArgs() |
Event Timeline
Comment Actions
The same should be implemented for logevents:
\# TODO: Check if logtype is one of the allowed log types
Tests should be provided for logevents too.
Comment Actions
Change 279645 had a related patch set uploaded (by Xqt):
[FEAT] Throw an error for incorrect logtypes for pagegenerators.handleArgs()
Comment Actions
Change 279645 merged by jenkins-bot:
[bugfix] Throw an error for incorrect logtypes for pagegenerators.handleArgs()