Skip to content

Commit

Permalink
Revert "Apply suggestions from code review"
Browse files Browse the repository at this point in the history
This reverts commit f42c540.
  • Loading branch information
anakin87 committed Dec 22, 2023
1 parent f42c540 commit d918414
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integrations/pinecone/tests/test_document_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def test_init(self, mock_pinecone):
assert document_store.batch_size == 50
assert document_store.dimension == 30
assert document_store.index_creation_kwargs == {"metric": "euclidean"}
assert document_store.api_key == "fake-api-key"

@patch("pinecone_haystack.document_store.pinecone")
def test_init_api_key_in_environment_variable(self, monkeypatch):
Expand All @@ -56,7 +55,7 @@ def test_init_api_key_in_environment_variable(self, monkeypatch):
metric="euclidean",
)

assert document_store.api_key == "fake-api-key"
assert True

def test_init_fails_wo_api_key(self, monkeypatch):
api_key = None
Expand Down

0 comments on commit d918414

Please sign in to comment.