jenkins-bot has submitted this change and it was merged. Change subject: [bugfix] Enable script_tests for featured.py ......................................................................
[bugfix] Enable script_tests for featured.py featured -simulate doesn't response "'Use -help for further information." but there are 4 lines: Link FA does not exist <empty line> NOTE: featured articles are not implemented at wikipedia.de 0 pages written. We cannot use first or 3rd line because of the localized answer for template and site. We can expect the last line as response. The behavior of the response might be changed because the data is hold by wikibase for wm sites. Bug: T128955 Change-Id: Ia9ac862d2d07db47b1edc87c89aa4136c524891c --- M tests/script_tests.py 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/script_tests.py b/tests/script_tests.py index cc4348c..c0bb625 100644 --- a/tests/script_tests.py +++ b/tests/script_tests.py @@ -146,6 +146,7 @@ no_args_expected_results = { # TODO: until done here, remember to set editor = None in user_config.py 'editarticle': 'Nothing changed', + 'featured': '0 pages written.', 'freebasemappingupload': 'Cannot find ', 'harvest_template': 'ERROR: Please specify', 'imageuncat': 'WARNING: This script is primarily written for Wikimedia Commons', -- To view, visit https://gerrit.wikimedia.org/r/275391 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia9ac862d2d07db47b1edc87c89aa4136c524891c Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Xqt <i...@gno.de> Gerrit-Reviewer: John Vandenberg <jay...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits