positive test assertion

Co-authored-by: François Freitag <mail@franek.fr>
This commit is contained in:
Justin Mathews 2021-06-10 11:43:14 -04:00 committed by GitHub
parent 9b2a1e20e2
commit 36c662eca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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": "",
}