mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
always serve something, else werkzeug blows up
This commit is contained in:
parent
23ae6eb03f
commit
fa2f7ca540
1 changed files with 2 additions and 0 deletions
|
|
@ -167,6 +167,8 @@ def test_request_ssl(httpsserver):
|
|||
sha1 = '94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA'
|
||||
md5 = '19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D'
|
||||
|
||||
httpsserver.serve_content('') # we need to serve something
|
||||
|
||||
with pytest.raises(requests.exceptions.SSLError) as excinfo:
|
||||
utils.request('GET', httpsserver.url)
|
||||
assert 'certificate verify failed' in str(excinfo.value)
|
||||
|
|
|
|||
Loading…
Reference in a new issue