linkchecker/tests/checker
nodet 28f6743778
Add ignorewarningsforurls to ignore specific warnings (#794)
We want to allow specifying a warning to ignore for
each URL. If no regex is specified for the warning to ignore,
we'll ignore all warnings.

The tests still pass as they are, which means that unknown
values in the configuration file are simply ignored.

* [#782] Add values to configuration file

* [#782] Parse new configuration values

* [#782] Actually ignore a warning

* [#782] Confirm side cases work as expected

* [#782] Add logging when deciding to ignore warnings

* [#782] Documentation for ignorewarningsforurls

* [#782] Update (generated) man pages

* [#782] These tests pass without network, actually

* [#782] Fix copy/paste error in symbol naming

* [#782] The regex matches the name of the warning, not the message

* [#782] Better wording

* [#782] Update (generated) man pages

* [#782] We match the type, not the message
2024-02-13 19:43:29 +00:00
..
data Add ignorewarningsforurls to ignore specific warnings (#794) 2024-02-13 19:43:29 +00:00
__init__.py Fail on internal errors in LinkCheckTest.direct() 2023-04-17 19:24:22 +01:00
ftpserver.py Fix tests failing when run with pytest 2022-10-17 19:26:53 +01:00
httpserver.py Replace deprecated http.server.CGIHTTPRequestHandler for TestLoginUrl 2023-10-16 19:23:43 +01:00
test_all_parts.py Drop support for Beautiful Soup < 4.8.1 2021-01-28 19:20:24 +00:00
test_anchor.py Add tests for encoded anchors for file: and http: 2022-10-03 19:33:05 +01:00
test_base.py Remove spaces after names in class method definitions 2020-05-16 20:19:42 +01:00
test_bookmarks.py Stop using biplist 2020-10-12 19:55:46 +01:00
test_build_url.py Fix tests failing when run with pytest 2022-10-17 19:26:53 +01:00
test_charsets.py Remove spaces after names in class definitions 2020-05-16 20:19:42 +01:00
test_content_allows_robots.py Run black on tests/ 2020-05-28 20:29:13 +01:00
test_error.py Run black on tests/ 2020-05-28 20:29:13 +01:00
test_file.py Fix checking directory containing Unicode filenames 2022-09-05 19:28:40 +01:00
test_frames.py Remove spaces after names in class method definitions 2020-05-16 20:19:42 +01:00
test_ftp.py Fix FTP checker 2023-04-17 19:24:22 +01:00
test_guess_url.py Don't guess the URL for files that end in .html 2021-12-13 19:31:13 +00:00
test_http.py Python 3.9 adds suport for HTTP status code 103 EARLY_HINTS 2020-09-14 19:55:05 +01:00
test_http_misc.py Fix remaining flake8 violations in tests/ 2020-05-28 20:29:13 +01:00
test_http_redirect.py Elevate redirection to a warning tagged http-redirected 2023-08-28 19:22:24 +01:00
test_http_robots.py Add warning url-content-type-unparseable 2022-09-02 19:29:11 +01:00
test_httpbin.py Test on GitHub with httpbin from a container 2023-06-05 19:30:59 +01:00
test_https.py Use cryptography to generate certificate in TestHttps 2023-11-07 19:30:59 +00:00
test_https_redirect.py Convert to Python 3 super() 2020-06-03 20:06:36 +01:00
test_ignoreerrors.py Add @need_network to test_no_error() in test_ignoreerrors.py 2022-10-05 19:27:13 +01:00
test_ignorewarnings.py Add ignorewarningsforurls to ignore specific warnings (#794) 2024-02-13 19:43:29 +00:00
test_internpat.py Run black on tests/ 2020-05-28 20:29:13 +01:00
test_loginurl.py Replace deprecated http.server.CGIHTTPRequestHandler for TestLoginUrl 2023-10-16 19:23:43 +01:00
test_mail_bad.py Fix typos 2022-09-02 17:20:02 +08:00
test_mail_good.py Run black on tests/ 2020-05-28 20:29:13 +01:00
test_misc.py Fix TestMisc.test_itms_services() on Python 3.12 2023-09-06 19:22:04 +01:00
test_unknown.py Remove spaces after names in class method definitions 2020-05-16 20:19:42 +01:00
test_urllen.py Run black on tests/ 2020-05-28 20:29:13 +01:00
test_viruscheck.py Add a test for VirusCheck 2020-05-17 19:04:49 +01:00
test_whitespace.py Run black on tests/ 2020-05-28 20:29:13 +01:00