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

Change subject: Tests: ignore en.citizendium.org test in site_detect_tests on 
github
......................................................................

Tests: ignore en.citizendium.org test in site_detect_tests on github

Bug: T404583
Change-Id: I6b4bda37df72cd52a3342e1e6b0c2d1d1457c450
---
M tests/site_detect_tests.py
1 file changed, 5 insertions(+), 1 deletion(-)

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




diff --git a/tests/site_detect_tests.py b/tests/site_detect_tests.py
index 4d81e8f..28de946 100755
--- a/tests/site_detect_tests.py
+++ b/tests/site_detect_tests.py
@@ -103,7 +103,11 @@
     def test_standard_version_sites(self) -> None:
         """Test detection of standard MediaWiki sites."""
         for url in self.standard_version_sites:
-            with self.subTest(url=urlparse(url).netloc):
+            nl = urlparse(url).netloc
+            with self.subTest(url=nl):
+                if os.getenv('GITHUB_ACTIONS') and nl == 'en.citizendium.org':
+                    self.skipTest('Skip test on github due to T404583')
+
                 self.assertSite(url)

     def test_proofreadwiki(self) -> None:

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

Reply via email to