Skip to content

Commit

Permalink
Refactor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vasinov committed May 19, 2023
1 parent 4648bbf commit 68d5a14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class TestOpenAiEmbeddingDriver:
"""

@pytest.fixture(autouse=True)
def mock_openai_embedding_create(self, mocker):
def mock_pinecone(self, mocker):
# Create a fake response
fake_query_response = {
"matches": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class TestOpenAiEmbeddingDriver:
@pytest.fixture(autouse=True)
def mock_openai_embedding_create(self, mocker):
def mock_openai(self, mocker):
fake_response = {
"data": [
{
Expand Down

0 comments on commit 68d5a14

Please sign in to comment.