Dalba has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/351625 )

Change subject: SiteDetectionTestCase.assertSite: Skip tests on ConnectionError
......................................................................

SiteDetectionTestCase.assertSite: Skip tests on ConnectionError

Bug: T164362
Change-Id: I041c49fc0c24ac070502e87fff3c92a863667b77
---
M tests/site_detect_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/25/351625/1

diff --git a/tests/site_detect_tests.py b/tests/site_detect_tests.py
index a3cbfe8..cc3a2df 100644
--- a/tests/site_detect_tests.py
+++ b/tests/site_detect_tests.py
@@ -32,7 +32,7 @@
         """
         try:
             self.assertIsInstance(MWSite(url), MWSite)
-        except (ServerError, Timeout) as e:
+        except (ServerError, Timeout, ConnectionError) as e:
             self.skipTest(e)
 
     def assertNoSite(self, url):

-- 
To view, visit https://gerrit.wikimedia.org/r/351625
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I041c49fc0c24ac070502e87fff3c92a863667b77
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Dalba <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to