Skip to content

Commit 141952a

Browse files
committed
test fix
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
1 parent e7c83d0 commit 141952a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_telemetry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_network_request_flow(self, mock_post, mock_telemetry_client):
9191
args, kwargs = client._executor.submit.call_args
9292

9393
# Verify correct function and URL
94-
assert args[0] == requests.post
94+
assert args[0] == client._session.post
9595
assert args[1] == 'https://test-host.com/telemetry-ext'
9696
assert kwargs['headers']['Authorization'] == 'Bearer test-token'
9797

0 commit comments

Comments
 (0)