mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Rename test-linkcheck-localserver{,-anchor}
Precise the `linkcheck_anchors` option is enabled. Frees the name `test-linkcheck-localserver` for future tests without that option.
This commit is contained in:
parent
64fb1e5624
commit
6ea0a123c6
@ -110,7 +110,7 @@ def test_anchors_ignored(app):
|
|||||||
# expect all ok when excluding #top
|
# expect all ok when excluding #top
|
||||||
assert not content
|
assert not content
|
||||||
|
|
||||||
@pytest.mark.sphinx('linkcheck', testroot='linkcheck-localserver', freshenv=True)
|
@pytest.mark.sphinx('linkcheck', testroot='linkcheck-localserver-anchor', freshenv=True)
|
||||||
def test_raises_for_invalid_status(app):
|
def test_raises_for_invalid_status(app):
|
||||||
class InternalServerErrorHandler(http.server.BaseHTTPRequestHandler):
|
class InternalServerErrorHandler(http.server.BaseHTTPRequestHandler):
|
||||||
def do_GET(self):
|
def do_GET(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user