Repository navigation
Commit 41eb42d
test(kernel): cover the credentials_provider http-client gate
Add test_kernel_credentials_provider_keeps_python_http_client: on
use_kernel=True with a credentials_provider the connector still builds
a UnifiedHttpClient and hands it to the session, the federation-
wrapped provider chain and the kernel, as on Thrift. Verified the test
fails with the gate removed (TokenFederationProvider raises on
http_client=None). The no-provider control case is covered by
test_kernel_http_client_lifecycle[explicit].
Co-authored-by: Isaac <no-reply@databricks.com>
Signed-off-by: Cathleen Yan <58714163+cathleeny@users.noreply.github.com>1 parent 84d527b commit 41eb42d
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
1023 | 1054 | | |
1024 | 1055 | | |
1025 | 1056 | | |
| |||
0 commit comments