jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1108195?usp=email )
Change subject: tests: Re-enable RC-tests on wikidata
......................................................................
tests: Re-enable RC-tests on wikidata
Bug: T245989
Change-Id: I3e274e512e797512390176cc9b151a62b2d3380d
---
M tests/site_generators_tests.py
1 file changed, 4 insertions(+), 7 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/site_generators_tests.py b/tests/site_generators_tests.py
index 99a80a3..4100026 100755
--- a/tests/site_generators_tests.py
+++ b/tests/site_generators_tests.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""Tests for generators of the site module."""
#
-# (C) Pywikibot team, 2008-2024
+# (C) Pywikibot team, 2008-2025
#
# Distributed under the terms of the MIT license.
#
@@ -1046,12 +1046,9 @@
for change in mysite.recentchanges(redirect=False, total=5):
self.assertIsInstance(change, dict)
self.assertNotIn('redirect', change)
-
- # Subtest timeouts on Wikidata due to upstream issue, see T245989
- if mysite.sitename != 'wikidata:wikidata':
- for change in mysite.recentchanges(redirect=True, total=5):
- self.assertIsInstance(change, dict)
- self.assertIn('redirect', change)
+ for change in mysite.recentchanges(redirect=True, total=5):
+ self.assertIsInstance(change, dict)
+ self.assertIn('redirect', change)
def test_tag_filter(self):
"""Test the site.recentchanges() with tag filter."""
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1108195?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I3e274e512e797512390176cc9b151a62b2d3380d
Gerrit-Change-Number: 1108195
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]