Skip to content

Commit

Permalink
Fix grpc test imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Nov 4, 2024
1 parent 8f3adcd commit 28dbadd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/integration/data/test_delete_future.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import os
import pytest
from pinecone import Vector
from pinecone.grpc import GRPCDeleteResponse
from ..helpers import poll_stats_for_namespace, random_string

if os.environ.get("USE_GRPC") == "true":
from pinecone.grpc import GRPCDeleteResponse


class TestDeleteFuture:
@pytest.mark.skipif(
Expand Down
4 changes: 3 additions & 1 deletion tests/integration/data/test_fetch_future.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import os
import pytest
from pinecone.grpc import PineconeGrpcFuture

if os.environ.get("USE_GRPC") == "true":
from pinecone.grpc import PineconeGrpcFuture


@pytest.mark.skipif(
Expand Down

0 comments on commit 28dbadd

Please sign in to comment.