jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/994748?usp=email )

Change subject: [tests] test that https://wikimediafoundation.org/$1 is not a 
wiki
......................................................................

[tests] test that https://wikimediafoundation.org/$1 is not a wiki

Bug: T356013
Change-Id: I0307691ee34dad5e1c2b7a128ed6b759658fb70a
---
M tests/site_detect_tests.py
1 file changed, 13 insertions(+), 0 deletions(-)

Approvals:
  DannyS712: Looks good to me, approved
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/tests/site_detect_tests.py b/tests/site_detect_tests.py
index 1cafd2c..0f703ff 100755
--- a/tests/site_detect_tests.py
+++ b/tests/site_detect_tests.py
@@ -91,6 +91,9 @@
         'http://www.merriam-webster.com/'
         'cgi-bin/dictionary?book=Dictionary&va=$1',
         'http://arxiv.org/abs/$1',
+        # looks like a MW site but isn't, api is redirected to
+        # https://foundation.wikimedia.org
+        'https://wikimediafoundation.org/$1',
     )

     failing_sites = [

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

Reply via email to