Skip to content

Commit 486796a

Browse files
committed
Update FakeCredentials
1 parent 057d956 commit 486796a

File tree

1 file changed

+3
-0
lines changed
  • instrumentation-genai/opentelemetry-instrumentation-google-genai/tests/common

1 file changed

+3
-0
lines changed

instrumentation-genai/opentelemetry-instrumentation-google-genai/tests/common/auth.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616

1717

1818
class FakeCredentials(google.auth.credentials.AnonymousCredentials):
19+
def __init__(self):
20+
self.token = 'a'
21+
self._quota_project_id = 'a'
1922
def refresh(self, request):
2023
pass

0 commit comments

Comments
 (0)