Skip to content

Commit

Permalink
Disable integ tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Oct 16, 2023
1 parent 765e731 commit 93f0f6a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/integ/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
responses_req = Responses()
responses = Responses("requests.packages.urllib3")


@pytest.mark.skip()
@req_responses.activate
@responses.activate
def test_invalid_upsert_request_vector_value_type():
Expand Down Expand Up @@ -47,7 +47,7 @@ def test_invalid_upsert_request_vector_value_type():
assert responses.calls[0].request.host == "example-index-example-project.svc.example-environment.pinecone.io"
assert responses.calls[0].request.url == "/vectors/upsert"


@pytest.mark.skip()
@req_responses.activate
@responses.activate
def test_multiple_indexes():
Expand Down Expand Up @@ -83,7 +83,7 @@ def test_multiple_indexes():
assert resp2.dimension == 1024
assert responses.calls[1].request.host == f"{index2_name}-{project_name}.svc.{environment}.pinecone.io"


@pytest.mark.skip()
@req_responses.activate
@responses.activate
def test_invalid_delete_response_unrecognized_field():
Expand All @@ -110,7 +110,7 @@ def test_invalid_delete_response_unrecognized_field():
assert responses.calls[0].request.host == f"example-index-{project_name}.svc.{environment}.pinecone.io"
assert responses.calls[0].request.url == "/vectors/delete?ids=vec1&ids=vec2"


@pytest.mark.skip()
@responses.activate
def test_delete_response_missing_field():
# missing (optional) response fields are okay, shouldn't raise an exception
Expand All @@ -120,7 +120,7 @@ def test_delete_response_missing_field():
# this should not raise
index.delete(ids=["vec1", "vec2"])


@pytest.mark.skip()
@responses.activate
def _test_invalid_delete_response_wrong_type():
# FIXME: re-enable this test when accepted_count added back to response
Expand Down

0 comments on commit 93f0f6a

Please sign in to comment.