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."""
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/747505
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: Ie78da6fd88b1c42313a3d1fdbac3b5f31991e465
Gerrit-Change-Number: 747505
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Magul <tomasz.magulski(a)gmail.com>
Gerrit-Reviewer: Maverick <manpreetkaur9411(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged