jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1315961?usp=email )
Change subject: [bugfix] Fix URL of TestHttpStatus.test_follow_redirects
......................................................................
[bugfix] Fix URL of TestHttpStatus.test_follow_redirects
Bug: T433102
Change-Id: Iebad480d5bba71ef94e2dfdb1550ef181dbfbb7e
---
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 3185b8a..40e7849 100755
--- a/tests/http_tests.py
+++ b/tests/http_tests.py
@@ -161,7 +161,7 @@
self.assertIn('//en.wikipedia.org/wiki/Main_Page', r.url)
r = http.fetch(self.httpbin
- + 'redirect-to?url=https://www.wikidata.org')
+ + '/redirect-to?url=https://www.wikidata.org')
self.assertIsNotEmpty(r.history)
self.assertEqual(r.history[0].status_code, HTTPStatus.FOUND.value)
self.assertEqual(r.history[-1].status_code,
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1315961?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iebad480d5bba71ef94e2dfdb1550ef181dbfbb7e
Gerrit-Change-Number: 1315961
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]