From 2c859738c5f3b52b1aaba4e54e4337897ae9335e Mon Sep 17 00:00:00 2001
From: James Briggs <james.briggs@hotmail.com>
Date: Sun, 10 Nov 2024 20:14:20 +0100
Subject: [PATCH] fix: init sync test with local merge

---
 tests/unit/test_sync.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/unit/test_sync.py b/tests/unit/test_sync.py
index beb903e0..e1d9d8e8 100644
--- a/tests/unit/test_sync.py
+++ b/tests/unit/test_sync.py
@@ -189,7 +189,7 @@ class TestRouteLayer:
         os.environ.get("PINECONE_API_KEY") is None, reason="Pinecone API key required"
     )
     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)
 
     @pytest.mark.skipif(
-- 
GitLab