mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-23 20:22:37 +00:00
Merge main to incorporate OAuth CI test correction
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user