From 20cd1dfbfcfb0ba6373136c907ea84184ffa298f Mon Sep 17 00:00:00 2001 From: xqt Date: Sun, 5 Jan 2025 17:17:48 +0100 Subject: [PATCH] tests: Re-enable RC-tests on wikidata Bug: T245989 Change-Id: I3e274e512e797512390176cc9b151a62b2d3380d --- tests/site_generators_tests.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/tests/site_generators_tests.py b/tests/site_generators_tests.py index 99a80a3bf9..4100026dd6 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 @@ def test_flags(self): 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."""