jenkins-bot has submitted this change and it was merged.
Change subject: Update archived
google.com URL
......................................................................
Update archived
google.com URL
web.archive.org previously returned /web/<date>/http://www.google.com/
as the archived URL for
https://google.com
It is now returning /web/<date>/http://google.com/
Change-Id: Ia928748b650554e629531e04effab32d55cd08f6
---
M tests/weblib_tests.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/weblib_tests.py b/tests/weblib_tests.py
index 7e82081..43e3b79 100644
--- a/tests/weblib_tests.py
+++ b/tests/weblib_tests.py
@@ -50,7 +50,7 @@
parsed = urlparse(archivedversion)
self.assertIn(parsed.scheme, [u'http', u'https'])
self.assertEqual(parsed.netloc, u'web.archive.org')
-
self.assertTrue(parsed.path.strip('/').endswith('www.google.com'),
parsed.path)
+ self.assertTrue(parsed.path.strip('/').endswith('google.com'),
parsed.path)
def testInternetArchiveOlder(self):
"""Test Internet Archive for
https://google.com as of June
2006."""
@@ -58,7 +58,7 @@
parsed = urlparse(archivedversion)
self.assertIn(parsed.scheme, [u'http', u'https'])
self.assertEqual(parsed.netloc, u'web.archive.org')
-
self.assertTrue(parsed.path.strip('/').endswith('www.google.com'),
parsed.path)
+ self.assertTrue(parsed.path.strip('/').endswith('google.com'),
parsed.path)
self.assertIn('200606', parsed.path)
--
To view, visit
https://gerrit.wikimedia.org/r/291873
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia928748b650554e629531e04effab32d55cd08f6
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>