jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/747505 )
Change subject: [tests] Remove site_detect_tests.APIDisabledTestCase ......................................................................
[tests] Remove site_detect_tests.APIDisabledTestCase
API is available for http://wiki.linuxquestions.org
Bug: T297781 Change-Id: Ie78da6fd88b1c42313a3d1fdbac3b5f31991e465 --- M tests/site_detect_tests.py 1 file changed, 0 insertions(+), 9 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/site_detect_tests.py b/tests/site_detect_tests.py index 0e2ed0d..fd9d397 100644 --- a/tests/site_detect_tests.py +++ b/tests/site_detect_tests.py @@ -176,15 +176,6 @@ self.assertNoSite('http://wiki.animutationportal.com/index.php/$1')
-class APIDisabledTestCase(SiteDetectionTestCase): - - """Test MediaWiki sites without an enabled API.""" - - def test_linuxquestions(self): - """Test detection of MediaWiki sites for wiki.linuxquestions.org.""" - self.assertNoSite('http://wiki.linuxquestions.org/wiki/$1') - - class NoSiteTestCase(SiteDetectionTestCase):
"""Test detection of non-wiki sites."""
pywikibot-commits@lists.wikimedia.org