Skip to content

Commit 3fd6249

Browse files
SNOW-2117147 fix unit tests
1 parent b3871ca commit 3fd6249

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/unit/test_ssl_partial_chain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def fake_ssl_wrap_socket( # pylint: disable=unused-argument,too-many-arguments,
3939
monkeypatch.setattr(ssw.ssl_, "ssl_wrap_socket", fake_ssl_wrap_socket)
4040

4141
# Call our wrapper without providing ssl_context; it should inject one
42-
ssw.ssl_wrap_socket_with_ocsp(
42+
ssw.ssl_wrap_socket_with_cert_revocation_checks(
4343
sock=None,
4444
keyfile=None,
4545
certfile=None,

test/unit/test_ssl_partial_chain_handshake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def test_partial_chain_handshake_succeeds_with_intermediate_as_anchor():
188188
s.connect((host, port))
189189

190190
# The wrapper expects kwargs similar to urllib3; use provided context
191-
ws = ssw.ssl_wrap_socket_with_ocsp(
191+
ws = ssw.ssl_wrap_socket_with_cert_revocation_checks(
192192
sock=s,
193193
server_hostname="localhost",
194194
ssl_context=ctx,

0 commit comments

Comments
 (0)