mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-04 23:20:34 +00:00
Add @need_network to test_no_error() in test_ignoreerrors.py
Needs network access for DNS: warning No MX mail host for example.com found.
This commit is contained in:
parent
354ea933ca
commit
bbb8096df5
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ class TestFile(LinkCheckTest):
|
|||
]
|
||||
self.direct(url, resultlines, confargs=confargs)
|
||||
|
||||
@need_network
|
||||
def test_no_error(self):
|
||||
""" Test that unmatched errors are not ignored. """
|
||||
self._test("mailto:good@example.com", "", "", True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue