John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/229620

Change subject: Check Internet Archive API URL is available
......................................................................

Check Internet Archive API URL is available

The Internet Archive API responds with status code 503
when it is unavailable.  The tests should not be run when
it is unavailable.

Bug: T104761
Change-Id: I4f550efa380db41a4e489c4821b2400c70ada369
---
M tests/weblib_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/20/229620/1

diff --git a/tests/weblib_tests.py b/tests/weblib_tests.py
index 7c4ae97..0ca56ce 100644
--- a/tests/weblib_tests.py
+++ b/tests/weblib_tests.py
@@ -27,7 +27,7 @@
 
     sites = {
         'archive.org': {
-            'hostname': 'web.archive.org',
+            'hostname': 'https://archive.org/wayback/available?url=invalid',
         },
     }
 

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

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

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

Reply via email to