________________ TestInvalidInterwikiLinks.test_non_wiki_prefix ________________ pywikibot.exceptions.TimeoutError: Maximum retries attempted without success. During handling of the above exception, another exception occurred: self = <tests.link_tests.TestInvalidInterwikiLinks testMethod=test_non_wiki_prefix> def test_non_wiki_prefix(self): """Test that Link fails if the interwiki prefix is not a wiki.""" link = Link('bugzilla:1337', source=self.site) self.assertRaisesRegex( Error, 'bugzilla:1337 is not a local page on wikipedia:en, and the ' 'interwiki prefix bugzilla is not supported by Pywikibot!', > link.parse) E AssertionError: "bugzilla:1337 is not a local page on wikipedia:en, and the interwiki prefix bugzilla is not supported by Pywikibot!" does not match "Maximum retries attempted without success." tests/link_tests.py:985: AssertionError ------------------------------ Captured log call ------------------------------- VERBOSE pywiki:logging.py:101 Found 1 wikimedia:wikimedia processes running, including this one. WARNING pywiki:logging.py:101 Non-JSON response received from server wikimedia:wikimedia; the server may be down. WARNING pywiki:logging.py:101 Waiting 5.0 seconds before retrying. WARNING pywiki:logging.py:101 Non-JSON response received from server wikimedia:wikimedia; the server may be down. WARNING pywiki:logging.py:101 Waiting 10.0 seconds before retrying. WARNING pywiki:logging.py:101 Non-JSON response received from server wikimedia:wikimedia; the server may be down. _______________ TestInvalidInterwikiLinks.test_other_wiki_prefix _______________ self = <tests.link_tests.TestInvalidInterwikiLinks testMethod=test_other_wiki_prefix> def test_other_wiki_prefix(self): """Test that Link fails if the interwiki prefix is a unknown family.""" link = Link('bulba:this-will-never-work', source=self.site) self.assertRaisesRegex( Error, 'bulba:this-will-never-work is not a local page on wikipedia:en, ' 'and the interwiki prefix bulba is not supported by Pywikibot!', > link.parse) E AssertionError: Error not raised by parse tests/link_tests.py:994: AssertionError ------------------------------ Captured log call ------------------------------- VERBOSE pywiki:logging.py:101 Found 1 bulba:bulba processes running, including this one.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[tests] Update TestInvalidInterwikiLinks after AutoFamily support | pywikibot/core | master | +25 -15 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 657644 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [tests] Update TestInvalidInterwikiLinks after AutoFamily support
Comment Actions
Change 657644 merged by jenkins-bot:
[pywikibot/core@master] [tests] Update TestInvalidInterwikiLinks after AutoFamily support