We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d4cbc7 commit 83e9feeCopy full SHA for 83e9fee
backend/tests/test_chat.py
@@ -31,6 +31,10 @@ def mock_vertexai_generative_model(mocker):
31
32
@pytest.fixture
33
def chat_manager(mocker, mock_vertexai, mock_vertexai_generative_model):
34
+ # Mock Google service account credentials
35
+ mock_credentials = mocker.Mock()
36
+ mocker.patch("tenantfirstaid.chat.service_account.Credentials.from_service_account_file",
37
+ return_value=mock_credentials)
38
return ChatManager()
39
40
0 commit comments