John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231764

Change subject: Wikibase integration tests fail on test.wikipedia
......................................................................

Wikibase integration tests fail on test.wikipedia

5d25a341 introduced tests for the UnconnectedPages
generator introduced in dff802ba.
Unfortunately these tests can not be run on test.wikipedia
as it isnt configured correctly.

Bug: T85358
Change-Id: Idf5f2042448776eda206ad825d69809f698acfd1
---
M tests/site_tests.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/64/231764/1

diff --git a/tests/site_tests.py b/tests/site_tests.py
index 5946d3d..c6ff5ba 100644
--- a/tests/site_tests.py
+++ b/tests/site_tests.py
@@ -818,6 +818,8 @@
         """Test that the ItemPage returned raises NoPage."""
         if not self.site.data_repository():
             raise unittest.SkipTest('Site is not using a Wikibase repository')
+        if self.site.family.name == 'test' or self.site.code == 'test':
+            raise unittest.SkipTest('Test fails on test.wikipedia; T85358')
         cnt = 0
         for page in self.site.unconnected_pages(total=5):
             self.assertRaises(pywikibot.NoPage, pywikibot.ItemPage.fromPage,

-- 
To view, visit https://gerrit.wikimedia.org/r/231764
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf5f2042448776eda206ad825d69809f698acfd1
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to