Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/test_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2961,7 +2961,11 @@ def response_handler(sock):
r1 = s.get(url, verify=False)
assert r1.status_code == 200

r2 = s.get(url, verify="tests/certs/valid/ca/ca.crt")
# Use expired/ca/ca.crt directly for cross-platform compatibility.
# tests/certs/valid/ca is a symlink to ../expired/ca which doesn't
# work reliably on Windows without a specific Git configuration.
# The valid server cert is signed by the expired CA, so this path is correct.
r2 = s.get(url, verify="tests/certs/expired/ca/ca.crt")
assert r2.status_code == 200

close_server.set()
Expand Down