jenkins-bot submitted this change.
[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(-)
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 change 906767. To unsubscribe, or for help writing mail filters, visit settings.