jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/674388 )
Change subject: [tests] fix http_tests.HttpTestCase.test_fetch ......................................................................
[tests] fix http_tests.HttpTestCase.test_fetch
Bug: T278241 Change-Id: Ia25c7c7c802a27364a264d78ce3b12bee1c00d14 --- M tests/http_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/http_tests.py b/tests/http_tests.py index b23f890..aa2fa67 100644 --- a/tests/http_tests.py +++ b/tests/http_tests.py @@ -43,7 +43,7 @@ r = http.fetch('http://www.wikipedia.org/') self.assertIsInstance(r, requests.Response) self.assertEqual(r.status_code, 200) - self.assertIn('<html lang="mul"', r.text) + self.assertIn('<html lang="en"', r.text) self.assertIsInstance(r.text, str) self.assertIsInstance(r.content, bytes)
pywikibot-commits@lists.wikimedia.org