jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1020927?usp=email )
Change subject: [tests] alllinks fails for en-wiki too ......................................................................
[tests] alllinks fails for en-wiki too
Bug: T359427 Change-Id: I7989075774cfd50c8bc7167551ddb8890a87e264 Signed-off-by: Xqt info@gno.de --- M tests/site_generators_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
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 e595eed..406bea0 100755 --- a/tests/site_generators_tests.py +++ b/tests/site_generators_tests.py @@ -337,7 +337,7 @@ def test_all_links(self): """Test the site.alllinks() method.""" mysite = self.get_site() - if mysite.sitename == 'wikipedia:de': + if mysite.sitename in ('wikipedia:de', 'wikipedia:en'): self.skipTest(f'skipping test on {mysite} due to T359427') fwd = list(mysite.alllinks(total=10)) uniq = list(mysite.alllinks(total=10, unique=True))