Merge main to incorporate OAuth CI test correction

This commit is contained in:
Gatefixer
2026-10-22 18:25:20 +00:00
+8 -2
View File
@@ -128,8 +128,14 @@ class TestOAuthProvider:
provider = OAuthProvider(fetcher, refresh_buffer_seconds=0)
assert provider.get_headers() == {"Authorization": "Bearer token1"}
assert provider.get_headers() == {"Authorization": "Bearer token2"}
assert provider.get_headers() == {
"Authorization": "Bearer token1",
"x-lancedb-credential-type": "oidc",
}
assert provider.get_headers() == {
"Authorization": "Bearer token2",
"x-lancedb-credential-type": "oidc",
}
assert call_count == 2
def test_missing_access_token(self):