linkchecker/tests
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
..
cache Make ResultCache max_size configurable (#544) 2021-06-21 19:45:19 +01:00
checker Add ignorewarningsforurls to ignore specific warnings (#794) 2024-02-13 19:43:29 +00:00
configuration Add ignorewarningsforurls to ignore specific warnings (#794) 2024-02-13 19:43:29 +00:00
logger Fix tests failing when run with pytest 2022-10-17 19:26:53 +01:00
__init__.py Remove support for nntp and telnet 2023-08-28 19:24:57 +01:00
cookies.txt Load cookies from the --cookiefile correctly 2018-03-16 13:23:26 +02:00
htmllib.py Run pyupgrade --py37-plus x 2 2022-11-08 19:21:29 +00:00
test_cgi.py Fix tests failing when run with pytest 2022-10-17 19:26:53 +01:00
test_clamav.py Fix typos 2022-09-02 17:20:02 +08:00
test_console.py Fix tests failing when run with pytest 2022-10-17 19:26:53 +01:00
test_containers.py Run pyupgrade --py37-plus --keep-percent-format 2022-11-08 19:21:29 +00:00
test_cookies.py Add tests for missing and empty FILENAMEs 2023-11-13 19:22:12 +00:00
test_decorators.py Use \d in regexp in TestDecorators.test_timeit2() 2022-10-18 19:24:08 +01:00
test_dummy.py Add linting with Pylint to build workflow 2023-05-03 19:24:53 +01:00
test_filenames.py Run black on tests/ 2020-05-28 20:29:13 +01:00
test_fileutil.py Remove spaces after names in class method definitions 2020-05-16 20:19:42 +01:00
test_ftpparse.py Run pyupgrade --py37-plus x 2 2022-11-08 19:21:29 +00:00
test_linkchecker.py Add tests for missing and empty FILENAMEs 2023-11-13 19:22:12 +00:00
test_linkparser.py Fix tests failing when run with pytest 2022-10-17 19:26:53 +01:00
test_locationinfo.py Add a test for the LocationInfo plugin 2020-07-07 17:25:28 +01:00
test_loginformsearch.py Run black on tests/ 2020-05-28 20:29:13 +01:00
test_mimeutil.py Detect sitemaps that do not start with an XML declaration 2020-08-11 19:35:56 +01:00
test_network.py Remove spaces after names in class method definitions 2020-05-16 20:19:42 +01:00
test_parser.py Run pyupgrade --py37-plus x 2 2022-11-08 19:21:29 +00:00
test_po.py Run pyupgrade --py37-plus x 2 2022-11-08 19:21:29 +00:00
test_robotparser.py Run pyupgrade --py37-plus x 2 2022-11-08 19:21:29 +00:00
test_robotstxt.py Remove Python <= 3.6 compatibility from TestRobotsTxt 2023-08-28 19:26:25 +01:00
test_srcsetparse.py Fix srcset parsing 2022-09-07 21:24:23 +02:00
test_strformat.py Remove strformat.unicode_safe() and strformat.url_unicode_split() 2020-07-07 17:25:28 +01:00
test_url.py Re-enable ldap: test 2022-08-23 19:25:32 +01:00
test_urlbuild.py Run black on tests/ 2020-05-28 20:29:13 +01:00