jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/618780 )
Change subject: [tests] use en-wiki instead of test2 for RepeatingGenerator
tests
......................................................................
[tests] use en-wiki instead of test2 for RepeatingGenerator tests
This solves T259810 and also the failing EventStreamsPageGeneratorTestCase
test due to low recent changes during 5 minutes timeout time
Bug: T259810
Change-Id: I6cd5ca2edc4ffbda693d1682c9c130ba1e111725
---
M tests/aspects.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/aspects.py b/tests/aspects.py
index b8e5470..24fb72c 100644
--- a/tests/aspects.py
+++ b/tests/aspects.py
@@ -1427,7 +1427,7 @@
super().setUpClass()
- if cls.get_site().code == 'test':
+ if cls.get_site().code in ('test', 'test2'):
cls.override_default_site(pywikibot.Site('en', 'wikipedia'))
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/618780
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I6cd5ca2edc4ffbda693d1682c9c130ba1e111725
Gerrit-Change-Number: 618780
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits