jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/774867 )
Change subject: [tests] Skip failing proofreadtests ......................................................................
[tests] Skip failing proofreadtests
Bug: T181913 Change-Id: I86d3787d45745b01c42e29e5fc29c6a91d10573d --- M tests/proofreadpage_tests.py 1 file changed, 5 insertions(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/proofreadpage_tests.py b/tests/proofreadpage_tests.py index 5da3841..8f99e79 100755 --- a/tests/proofreadpage_tests.py +++ b/tests/proofreadpage_tests.py @@ -21,6 +21,7 @@ BasePageLoadRevisionsCachingTestBase, BasePageMethodsTestBase, ) +from tests.utils import skipping
class TestProofreadPageInvalidSite(TestCase): @@ -310,14 +311,15 @@ page = ProofreadPage(self.site, self.valid['title']) self.assertEqual(page.url_image, self.valid['url_image'])
- page = ProofreadPage(self.site, self.valid_redlink['title']) - self.assertEqual(page.url_image, self.valid_redlink['url_image']) - page = ProofreadPage(self.site, self.existing_unlinked['title']) # test Exception in property. with self.assertRaises(ValueError): page.url_image
+ page = ProofreadPage(self.site, self.valid_redlink['title']) + with skipping(ValueError, msg='T181913, T114318'): + self.assertEqual(page.url_image, self.valid_redlink['url_image']) +
class TestPageQuality(TestCase):
pywikibot-commits@lists.wikimedia.org