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:
Chris Mayo 2022-10-05 19:27:13 +01:00
parent 354ea933ca
commit bbb8096df5

View file

@ -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)