Skip to content

Commit

Permalink
Run int tests for rest only
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Nov 11, 2024
1 parent 7941ee8 commit 7fc2038
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/integration/data/test_query_namespaces.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest
import os
from ..helpers import random_string, poll_stats_for_namespace
from pinecone.data.query_results_aggregator import (
QueryResultsAggregatorInvalidTopKError,
Expand All @@ -8,7 +9,10 @@
from pinecone import Vector


class TestQueryNamespaces:
@pytest.mark.skipif(
os.getenv("USE_GRPC") == "true", reason="query_namespaces currently only available via rest"
)
class TestQueryNamespacesRest:
def test_query_namespaces(self, idx):
ns_prefix = random_string(5)
ns1 = f"{ns_prefix}-ns1"
Expand Down

0 comments on commit 7fc2038

Please sign in to comment.