Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/993222?usp=email )
Change subject: [tests] Update site_detect_tests ......................................................................
[tests] Update site_detect_tests
MW version of http://kb.mozillazine.org was changed from 1.26.4 to 1.40.1 and creating a MWSite no longer fails. Move this test from non_standard_version_sites to standard_version_sites tests.
Bug: T355993 Change-Id: I50c20418e6cc509ef53cbbe20599da88e62f327d --- M tests/site_detect_tests.py 1 file changed, 16 insertions(+), 1 deletion(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/tests/site_detect_tests.py b/tests/site_detect_tests.py index 189820a..dc5c345 100755 --- a/tests/site_detect_tests.py +++ b/tests/site_detect_tests.py @@ -65,6 +65,7 @@ # Server that hosts www.wikichristian.org is unreliable - it # occasionally responding with 500 error (see: T151368). 'http://www.wikichristian.org/index.php?title=$1', + 'http://kb.mozillazine.org/$1' # 1.40.1 )
non_standard_version_sites = ( @@ -79,7 +80,6 @@ 'http://www.werelate.org/wiki/$1', 'http://www.otterstedt.de/wiki/index.php/$1', 'https://en.wikifur.com/wiki/$1', # 1.23.16 - 'http://kb.mozillazine.org/$1' # 1.26.4 )
no_sites = (