File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed
tests/integration/rest_sync/db/control/fts Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 55import logging
66import dotenv
77from pinecone import Pinecone
8- from tests .integration .helpers import delete_indexes_from_run , index_tags , get_environment_var
8+ from tests .integration .helpers import delete_indexes_from_run , index_tags
99
1010dotenv .load_dotenv ()
1111
@@ -21,12 +21,6 @@ def pc():
2121 return Pinecone ()
2222
2323
24- @pytest .fixture ()
25- def index_name ():
26- """Generate a unique index name for each test."""
27- return f"{ str (uuid .uuid4 ())} "
28-
29-
3024@pytest .fixture ()
3125def index_name_and_tags (request ):
3226 """Generate a unique index name and tags for each test."""
@@ -35,18 +29,6 @@ def index_name_and_tags(request):
3529 return name , tags
3630
3731
38- @pytest .fixture ()
39- def serverless_cloud ():
40- """Get the serverless cloud provider."""
41- return get_environment_var ("SERVERLESS_CLOUD" , "aws" )
42-
43-
44- @pytest .fixture ()
45- def serverless_region ():
46- """Get the serverless region."""
47- return get_environment_var ("SERVERLESS_REGION" , "us-east-1" )
48-
49-
5032def pytest_sessionfinish (session , exitstatus ):
5133 """Clean up indexes created during the test session."""
5234 logger .info ("Running final cleanup after FTS control plane tests..." )
You can’t perform that action at this time.
0 commit comments