mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Fix test_ignoreerrors test_internet failure
example.com is returning HTTP code 500.
This commit is contained in:
parent
54be64c1e2
commit
f1307c9f52
1 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ class TestFile(LinkCheckTest):
|
|||
@need_network
|
||||
def test_internet(self):
|
||||
""" Test a few well-known Internet URLs. """
|
||||
self._test("http://example.com/does-not-exist",
|
||||
r"^http://example.com/.+$", "^404", True)
|
||||
self._test("https://linkchecker.github.io/does-not-exist",
|
||||
r"^https://linkchecker.github.io/.+$", "^404", True)
|
||||
self._test("http://does-not-exist.example.com",
|
||||
r"example.com", "^ConnectionError", True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue