jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/906767 )

Change subject: [tests] wikifon.org is no MW site any longer
......................................................................

[tests] wikifon.org is no MW site any longer

- remove wikifon.org from tests
- catch ConnectionError with assertNoSite

Change-Id: Id5098aa397952c1f44a831f6291b381b29beba9a
---
M tests/site_detect_tests.py
1 file changed, 13 insertions(+), 1 deletion(-)

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 6173ff7..4127c87 100755
--- a/tests/site_detect_tests.py
+++ b/tests/site_detect_tests.py
@@ -45,6 +45,7 @@
         :raises AssertionError: Site under url is MediaWiki powered
         """
         with self.assertRaises((AttributeError,
+                                ConnectionError,
                                 RuntimeError,
                                 ServerError,
                                 requests_exceptions.ConnectionError,
@@ -73,7 +74,6 @@
     old_version_sites = (
         'http://tfwiki.net/wiki/$1',  # 1.19.5-1+deb7u1
         'http://www.hrwiki.org/index.php/$1',  # v 1.15.4
-        'http://www.wikifon.org/$1',  # v1.11.0
         'http://www.thelemapedia.org/index.php/$1',
         'http://www.werelate.org/wiki/$1',
         'http://www.otterstedt.de/wiki/index.php/$1',

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/906767
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: Id5098aa397952c1f44a831f6291b381b29beba9a
Gerrit-Change-Number: 906767
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-CC: Meno25 <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to