jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1183224?usp=email )

Change subject: tests: skip TestInterwikiLinksToNonLocalSites on Github
......................................................................

tests: skip TestInterwikiLinksToNonLocalSites on Github

Skip interwiki_link_tests.TestInterwikiLinksToNonLocalSites on Github
due to network access being blocked on translatewiki.net
(hopefully temporary).

Tests are still running on Jenkins CI.

Bug: T403292
Change-Id: I510046cdd25002654143811cdf9e515ba1835843
---
M tests/interwiki_link_tests.py
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Looks good to me, approved




diff --git a/tests/interwiki_link_tests.py b/tests/interwiki_link_tests.py
index 6df9dbc..f3e83bf 100755
--- a/tests/interwiki_link_tests.py
+++ b/tests/interwiki_link_tests.py
@@ -1,12 +1,13 @@
 #!/usr/bin/env python3
 """Test Interwiki Link functionality."""
 #
-# (C) Pywikibot team, 2014-2022
+# (C) Pywikibot team, 2014-2025
 #
 # Distributed under the terms of the MIT license.
 #
 from __future__ import annotations

+import os
 from contextlib import suppress

 from pywikibot import config
@@ -45,6 +46,8 @@
         self.assertEqual(link.namespace, 1)


[email protected](os.environ.get('GITHUB_ACTIONS'),
+                 'Tests blocked on twn, see T403292')
 class TestInterwikiLinksToNonLocalSites(TestCase):

     """Tests for interwiki links to non local sites."""

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1183224?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: I510046cdd25002654143811cdf9e515ba1835843
Gerrit-Change-Number: 1183224
Gerrit-PatchSet: 2
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]

Reply via email to