diff options
author | François Freitag <mail@franek.fr> | 2020-11-08 21:57:06 +0100 |
---|---|---|
committer | François Freitag <mail@franek.fr> | 2020-11-08 22:30:49 +0100 |
commit | 0178437f3c7090345c36e84711c1230ba2ef8603 (patch) | |
tree | 857a758cdfcdde7bb2c07b361a338c29d7cde08c /sphinx/config.py | |
parent | 7db3633778a24c4fc90c8a0ceb2318d6df7cf4e3 (diff) | |
download | sphinx-git-0178437f3c7090345c36e84711c1230ba2ef8603.tar.gz |
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.
Diffstat (limited to 'sphinx/config.py')
0 files changed, 0 insertions, 0 deletions