jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/592488 )
Change subject: [cleanup] update site_detect_tests ......................................................................
[cleanup] update site_detect_tests
- http://www.livepedia.grdoes not look like a mw site - http://glossary.reuters.com is no longer a wiki but redirects to https://de.reuters.com/ instead - http://www.wikinvest.com is no longer a wiki but redirects to https://www.sigfig.com - http://esperanto.blahus.cz/cxej/vikio is no longer available - http://operawiki.info is no longer reachable
Change-Id: I0d451d22d5f81d6b496e7444169cf6c2a4bd9832 --- M tests/site_detect_tests.py 1 file changed, 0 insertions(+), 22 deletions(-)
Approvals: Dvorapa: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/site_detect_tests.py b/tests/site_detect_tests.py index a5f6230..9c99dd8 100644 --- a/tests/site_detect_tests.py +++ b/tests/site_detect_tests.py @@ -114,29 +114,15 @@
"""Test pre 1.14 sites which should be detected as unsupported."""
- def test_livepedia(self): - """Test detection of MediaWiki sites for www.livepedia.gr.""" - self.assertNoSite( - 'http://www.livepedia.gr/index.php?title=$1') # v1.12 - def test_wikifon(self): """Test detection of MediaWiki sites for www.wikifon.org.""" self.assertNoSite('http://www.wikifon.org/$1') # v1.11
- def test_reuters(self): - """Test detection of MediaWiki sites for glossary.reuters.com.""" - self.assertNoSite( - 'http://glossary.reuters.com/index.php?title=$1') # v1.11 - def test_wikitree(self): """Test detection of MediaWiki sites for wikitree.org.""" # v1.11, with no query module self.assertNoSite('http://wikitree.org/index.php?title=$1')
- def test_wikinvest(self): - """Test detection of MediaWiki sites for www.wikinvest.com.""" - self.assertNoSite('http://www.wikinvest.com/$1') # v1.9 -
class PreAPISiteTestCase(SiteDetectionTestCase):
@@ -150,10 +136,6 @@ """Test detection of MediaWiki sites for www.thelemapedia.org.""" self.assertNoSite('http://www.thelemapedia.org/index.php/$1')
- def test_blahus(self): - """Test detection of MediaWiki sites for esperanto.blahus.cz.""" - self.assertNoSite('http://esperanto.blahus.cz/cxej/vikio/index.php/$1') - def test_werelate(self): """Test detection of MediaWiki sites for www.werelate.org.""" self.assertNoSite('http://www.werelate.org/wiki/$1') @@ -222,10 +204,6 @@ """Test detection of MediaWiki sites for www.ecyrd.com.""" self.assertNoSite('http://www.ecyrd.com/JSPWiki/Wiki.jsp?page=$1')
- def test_operawiki(self): - """Test detection of MediaWiki sites for operawiki.info.""" - self.assertNoSite('http://operawiki.info/$1') - def test_tvtropes(self): """Test detection of MediaWiki sites for www.tvtropes.org.""" self.assertNoSite('http://www.tvtropes.org/pmwiki/pmwiki.php/Main/$1')
pywikibot-commits@lists.wikimedia.org