Commit Graph
7 Commits
Author SHA1 Message Date
François Freitag c90eef1f67 linkcheck: Remove unused arguments from tests 2020-11-11 13:48:45 +01:00
François Freitag 0178437f3c Rewrite test_inspect_main_url to avoid mocking
Makes the test more realistic by issuing an HTTP request.
Reduces coupling between test and the code under test.

The `http_server` helper was factored out into a new tests.utils module.
2020-11-08 22:30:49 +01:00
François Freitag fa8bec76e7 Drop Python 3.4 compatibility code
Python 3.4 support was dropped in Sphinx 2.0.
2020-11-07 11:21:34 +01:00
François Freitag 55f7919531 Linkcheck: Use Thread daemon argument
Instead of using a separate call.
2020-10-11 11:41:42 +02:00
François Freitag bd49c3c2ef Outdated comment in docs config for intersphinx
Intersphinx is in use since 6a396c7eb8.
2020-10-05 08:34:26 +02:00
François Freitag 5ea8ee133d Fix #8268: make linkcheck report HTTP errors 2020-10-03 14:33:29 +02:00
François Freitag 5166dd194c Strip trailing whitespaces and normalize line endings
Trailing whitespace do not have impact on the result, they are just
unused bytes. Most text editors are configured to strip trailing
whitespaces. Remove them all in one go.

Update a handful of files to use the UNIX line ending.
2020-10-03 13:47:01 +02:00