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:
François Freitag 2020-11-11 10:50:45 +01:00
parent 64fb1e5624
commit 6ea0a123c6
No known key found for this signature in database
GPG Key ID: 0CD53670BCA9253D
3 changed files with 1 additions and 1 deletions

View File

@ -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):