jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/800853 )

Change subject: [bugfix] Decorate test_other_wiki_prefix with expectedFailure
......................................................................

[bugfix] Decorate test_other_wiki_prefix with expectedFailure

Decorate TestForeignInterwikiLinks.test_other_wiki_prefix with
unittest.expectedFailure to skip failing tests temporary and
let tests pass.

Bug: T309442
Change-Id: I6d1a915b566fb35a8bf08935b569a7cba7394f1a
---
M tests/link_tests.py
1 file changed, 2 insertions(+), 1 deletion(-)

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



diff --git a/tests/link_tests.py b/tests/link_tests.py
index cbb0cd0..94600f3 100755
--- a/tests/link_tests.py
+++ b/tests/link_tests.py
@@ -6,6 +6,7 @@
 # Distributed under the terms of the MIT license.
 #
 import re
+import unittest
 from contextlib import suppress

 import pywikibot
@@ -18,7 +19,6 @@
     DefaultDrySiteTestCase,
     TestCase,
     WikimediaDefaultSiteTestCase,
-    unittest,
 )


@@ -903,6 +903,7 @@
         self.assertEqual(link.site.sitename, 'wikimedia:wikimedia')
         self.assertTrue(link._is_interwiki)

+    @unittest.expectedFailure  # T309442
     def test_other_wiki_prefix(self):
         """Test that Link fails if the interwiki prefix is a unknown family."""
         link = Link('bulba:title on auto-generated Site', source=self.site)

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/800853
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I6d1a915b566fb35a8bf08935b569a7cba7394f1a
Gerrit-Change-Number: 800853
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to