test_create_short_link fails again at Appveyor since few days even the bot is logged in:
[00:29:30] ====================================================================== [00:29:30] ERROR: test_create_short_link (tests.page_tests.TestShortLink) [00:29:30] Test create_short_link function. [00:29:30] ---------------------------------------------------------------------- [00:29:30] Traceback (most recent call last): [00:29:30] File "C:\projects\pywikibot-g4xqx\tests\page_tests.py", line 1276, in test_create_short_link [00:29:30] self.assertEqual(p1.create_short_link(), 'https://w.wiki/3Cy') [00:29:30] File "C:\projects\pywikibot-g4xqx\pywikibot\page\__init__.py", line 2320, in create_short_link [00:29:30] link = wiki.create_short_link(url) [00:29:30] File "C:\projects\pywikibot-g4xqx\pywikibot\site\__init__.py", line 1391, in callee [00:29:30] return fn(self, *args, **kwargs) [00:29:30] File "C:\projects\pywikibot-g4xqx\pywikibot\site\__init__.py", line 7628, in create_short_link [00:29:30] data = req.submit() [00:29:30] File "C:\projects\pywikibot-g4xqx\pywikibot\data\api.py", line 2113, in submit [00:29:30] raise APIError(**result['error']) [00:29:30] APIError: urlshortener-blocked: Blocked users can't make short URLs. [00:29:30] [current site: meta:meta; [00:29:30] current user: Pywikibot-test; [00:29:30] help: See https://meta.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.] [00:29:30] [00:29:30] ---------------------------------------------------------------------- [00:29:30] Ran 1899 tests in 1682.625s
See also T244062