jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1108100?usp=email )
Change subject: tests: update memento_tests.py ......................................................................
tests: update memento_tests.py
Bug: T382943 Change-Id: I4807a3e77a56c03acda7ff3a8137e4f890c0dedb --- M tests/memento_tests.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/tests/memento_tests.py b/tests/memento_tests.py index fdeb5e4..84f8d5c 100755 --- a/tests/memento_tests.py +++ b/tests/memento_tests.py @@ -52,7 +52,8 @@ date_string=dt) parsed = urlparse(archivedversion) self.assertIn(parsed.scheme, ['http', 'https']) - self.assertEqual(parsed.netloc, 'wayback.library.yorku.ca') + self.assertIn(parsed.netloc, ['wayback.library.yorku.ca', + 'web.archive.org'])
class TestMementoDefault(MementoTestCase):
pywikibot-commits@lists.wikimedia.org