Skip to content

Commit

Permalink
Yield llmhelper
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdougal committed May 9, 2024
1 parent 365e5a2 commit 60a8365
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def llm_helper_mock():
0
] * 1536
llm_helper.generate_embeddings.return_value = [123]
yield mock
yield llm_helper


@pytest.fixture(autouse=True)
Expand Down Expand Up @@ -99,7 +99,7 @@ def test_process_using_integrated_vectorization(
azure_search_iv_datasource_helper_mock.return_value.create_or_update_datasource.assert_called_once()

azure_search_iv_index_helper_mock.assert_called_once_with(
env_helper_mock, llm_helper_mock.return_value
env_helper_mock, llm_helper_mock
)
azure_search_iv_index_helper_mock.return_value.create_or_update_index.assert_called_once()

Expand Down

0 comments on commit 60a8365

Please sign in to comment.