mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
test: clean up
This commit is contained in:
parent
3378cae82f
commit
95b98d97d5
@ -67,9 +67,6 @@ def test_defaults_json(app, status, warning):
|
||||
assert dnerow['status'] == 'broken'
|
||||
assert dnerow['code'] == 0
|
||||
assert dnerow['uri'] == 'https://localhost:7777/doesnotexist'
|
||||
#assert dnerow['info'] == "HTTPSConnectionPool(host='localhost', port=7777): Max retries exceeded with url: /doesnotexist (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f447b3b9710>: Failed to establish a new connection: [Errno 111] Connection refused'))"
|
||||
#assert "[Errno 111] Connection refused" in dnerow['info']
|
||||
#assert "[WinError 10061] No connection could be made because the target machine actively refused it'" in dnerow['info']
|
||||
assert rowsby['https://www.google.com/image2.png'] == {
|
||||
'filename': 'links.txt',
|
||||
'lineno': 16,
|
||||
|
Loading…
Reference in New Issue
Block a user