mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
positive test assertion
Co-authored-by: François Freitag <mail@franek.fr>
This commit is contained in:
parent
9b2a1e20e2
commit
36c662eca5
@ -592,3 +592,12 @@ def test_get_after_head_raises_connection_error(app):
|
||||
app.build()
|
||||
content = (app.outdir / 'output.txt').read_text()
|
||||
assert not content
|
||||
content = (app.outdir / 'output.json').read_text()
|
||||
assert json.loads(content) == {
|
||||
"filename": "index.rst",
|
||||
"lineno": 1,
|
||||
"status": "working",
|
||||
"code": 0,
|
||||
"uri": "http://localhost:7777/",
|
||||
"info": "",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user