jayvdb created this task. jayvdb added subscribers: pywikipedia-bugs, jayvdb. jayvdb added projects: pywikibot-core, easy, Pywikibot-tests. jayvdb changed Security from none to none.
TASK DESCRIPTION The Category class has only a limited number of unit test cases.
The primary set of tests are in
http://git.wikimedia.org/blob/pywikibot%2Fcore.git/c731cdb7b58adaf0f42c86bb8...
However a few other related tests are located in other test modules.
The tests in page_tests should be moved to a new test module category_tests.py , and new basic tests added for at least the methods and attributes * sortKey * categoryinfo * members * subcategories * articles
(Methods copyTo and copyAndKeep are likely to be removed in the near future, and are essentially currently unsupported cruft)
TASK DETAIL https://phabricator.wikimedia.org/T78231
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: Aklapper, jayvdb, pywikipedia-bugs
jayvdb added a comment.
This has been proposed as a non-beginner CGI task. https://www.google-melange.com/gci/task/view/google/gci2014/5895860219019264
TASK DETAIL https://phabricator.wikimedia.org/T78231
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: Aklapper, jayvdb, pywikipedia-bugs
jayvdb moved this task to New tests needed on the Pywikibot-tests workboard.
TASK DETAIL https://phabricator.wikimedia.org/T78231
WORKBOARD https://phabricator.wikimedia.org/project/board/107/
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: Aklapper, jayvdb, pywikipedia-bugs
gerritbot added a project: Patch-For-Review. gerritbot added a comment.
Change 180758 had a related patch set uploaded (by Unicodesnowman): Add tests for the Category class
https://gerrit.wikimedia.org/r/180758
https://phabricator.wikimedia.org/tag/patch-for-review/
TASK DETAIL https://phabricator.wikimedia.org/T78231
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: Aklapper, jayvdb, pywikipedia-bugs
gerritbot added a comment.
Change 180758 merged by jenkins-bot: Add tests for the Category class
https://gerrit.wikimedia.org/r/180758
TASK DETAIL https://phabricator.wikimedia.org/T78231
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: Aklapper, jayvdb, pywikipedia-bugs
Unicodesnowman closed this task as "Resolved". Unicodesnowman claimed this task.
TASK DETAIL https://phabricator.wikimedia.org/T78231
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Unicodesnowman Cc: Aklapper, jayvdb, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org