jenkins-bot has submitted this change and it was merged.
Change subject: Remove test dependency on sigs on de:user_talk:xqt ......................................................................
Remove test dependency on sigs on de:user_talk:xqt
archivebot tests depend on the page 'user_talk:xqt' on many different wikipedia sites, to verfiy it can parse a normal talk page, in many languages.
de:user_talk:xqt occasionally has unsigned comments that cause the archivebot tests to fail.
use user_talk:Ladsgroup on de.wp instead.
Bug: 67663 Change-Id: I73e4cc8368f286d7ff252e4ee971059b84733dea --- M tests/archivebot_tests.py 1 file changed, 5 insertions(+), 2 deletions(-)
Approvals: Ladsgroup: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/archivebot_tests.py b/tests/archivebot_tests.py index abe42aa..954c1b7 100644 --- a/tests/archivebot_tests.py +++ b/tests/archivebot_tests.py @@ -20,7 +20,7 @@
THREADS = { 'als': 4, 'ar': 1, 'bar': 0, 'bg': 0, 'bjn': 1, 'bs': 0, 'ca': 5, 'ckb': 2, - 'cs': 0, 'de': 7, 'en': 25, 'eo': 1, 'es': 13, 'fa': 2, 'fr': 25, 'frr': 2, + 'cs': 0, 'de': 1, 'en': 25, 'eo': 1, 'es': 13, 'fa': 2, 'fr': 25, 'frr': 2, 'hi': 0, 'hr': 2, 'hu': 5, 'id': 3, 'it': 25, 'ja': 4, 'la': 0, 'lt': 1, 'nl': 9, 'nn': 0, 'no': 0, 'pdc': 25, 'pfl': 3, 'pl': 8, 'pt': 0, 'ro': 1, 'ru': 20, 'scn': 2, 'simple': 1, 'sr': 0, 'sv': 5, 'th': 1, 'tr': 7, @@ -41,7 +41,10 @@ def test_archivebot(self, code=None): """Test archivebot for one site.""" site = self.get_site(code) - page = pywikibot.Page(site, 'user talk:xqt') + if code != 'de': # bug 67663 + page = pywikibot.Page(site, 'user talk:xqt') + else: + page = pywikibot.Page(site, 'user talk:ladsgroup') talk = archivebot.DiscussionPage(page, None) self.assertIsInstance(talk.archives, dict) self.assertIsInstance(talk.archived_threads, int)