比较提交

..

1 次代码提交

作者 SHA1 备注 提交日期
Sebastian Lohff 40eb32bd0d Python3 SSL socket handling 2019-02-24 13:54:11 +01:00
共有 1 个文件被更改,包括 0 次插入10 次删除

查看文件

@ -274,13 +274,3 @@ def test_https(run_servefile, datadir):
# assert fingerprint
urllib3.disable_warnings()
check_download(data, protocol='https', verify=False)
def test_https_big_download(run_servefile, datadir):
# test with about 10 mb of data
data = "x" * (10 * 1024 ** 2)
p = datadir({'testfile': data}) / 'testfile'
run_servefile(['--ssl', str(p)])
time.sleep(0.2) # time for generating ssl certificates
urllib3.disable_warnings()
check_download(data, protocol='https', verify=False)