Skip to content
Snippets Groups Projects
Commit 2c859738 authored by James Briggs's avatar James Briggs
Browse files

fix: init sync test with local merge

parent 7bd515d3
No related branches found
No related tags found
No related merge requests found
...@@ -189,7 +189,7 @@ class TestRouteLayer: ...@@ -189,7 +189,7 @@ class TestRouteLayer:
os.environ.get("PINECONE_API_KEY") is None, reason="Pinecone API key required" os.environ.get("PINECONE_API_KEY") is None, reason="Pinecone API key required"
) )
def test_initialization(self, openai_encoder, routes, index_cls): def test_initialization(self, openai_encoder, routes, index_cls):
index = init_index(index_cls) index = init_index(index_cls, sync="local")
_ = RouteLayer(encoder=openai_encoder, routes=routes, top_k=10, index=index) _ = RouteLayer(encoder=openai_encoder, routes=routes, top_k=10, index=index)
@pytest.mark.skipif( @pytest.mark.skipif(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment