Update test_config.py
This commit is contained in:
parent
c1a88bc873
commit
15ffaf9e1a
@ -20,12 +20,6 @@ def test_load_ssl_config_verify_non_existing_file():
|
||||
context.load_verify_locations(cafile="/path/to/nowhere")
|
||||
|
||||
|
||||
def test_load_ssl_with_keylog(monkeypatch: typing.Any) -> None:
|
||||
monkeypatch.setenv("SSLKEYLOGFILE", "test")
|
||||
context = httpx.create_ssl_context()
|
||||
assert context.keylog_filename == "test"
|
||||
|
||||
|
||||
def test_load_ssl_config_verify_existing_file():
|
||||
context = httpx.create_ssl_context()
|
||||
context.load_verify_locations(capath=certifi.where())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user