@@ -205,29 +205,27 @@ def test_ivfpq_index_creation_and_operations(self):
205205 query_vector = self .test_vectors [0 ]
206206 results = self .index .query (query_vectors = [query_vector ], top_k = 5 )
207207
208-
209-
210208 self .assertGreater (len (results [0 ]), 0 )
211209 self .assertTrue ("id" in results [0 ])
212210
213- def test_ivfpq_parameter_validation (self ):
214- """Test IVFPQ parameter validation"""
215- # Test invalid pq_dim = 0
216- invalid_config = cyborgdb .IndexIVFPQ (
217- dimension = self .dimension , pq_dim = 0 , pq_bits = 8
218- )
211+ # def test_ivfpq_parameter_validation(self):
212+ # """Test IVFPQ parameter validation"""
213+ # # Test invalid pq_dim = 0
214+ # invalid_config = cyborgdb.IndexIVFPQ(
215+ # dimension=self.dimension, pq_dim=0, pq_bits=8
216+ # )
219217
220- with self .assertRaises (Exception ) as context :
221- invalid_index = self .client .create_index (
222- generate_unique_name (),
223- self .client .generate_key (),
224- invalid_config ,
225- metric = "euclidean" ,
226- )
227- invalid_index .delete_index ()
218+ # with self.assertRaises(Exception) as context:
219+ # invalid_index = self.client.create_index(
220+ # generate_unique_name(),
221+ # self.client.generate_key(),
222+ # invalid_config,
223+ # metric="euclidean",
224+ # )
225+ # invalid_index.delete_index()
228226
229- # Verify the error is about pq_dim
230- self .assertIn ("pq_dim" , str (context .exception ).lower ())
227+ # # Verify the error is about pq_dim
228+ # self.assertIn("pq_dim", str(context.exception).lower())
231229
232230
233231class TestErrorHandling (unittest .TestCase ):
@@ -394,7 +392,7 @@ def test_mismatched_parameter_lengths(self):
394392
395393 # Test with empty items list
396394 with self .assertRaises (Exception ):
397- result = self .index .upsert ([])
395+ self .index .upsert ([])
398396
399397 def test_content_preservation_through_operations (self ):
400398 """Test that content is preserved through various operations"""
@@ -468,7 +466,7 @@ async def concurrent_upsert():
468466
469467
470468class TestBackendCompatibility (unittest .TestCase ):
471- """Test backend compatibility (Lite vs Full) """
469+ """Test backend compatibility"""
472470
473471 def setUp (self ):
474472 self .client = create_client ()
@@ -490,12 +488,6 @@ def tearDown(self):
490488 except Exception :
491489 pass
492490
493- def test_lite_backend_compatibility (self ):
494- """Test operations with lite backend"""
495- client = create_client ()
496- health = client .get_health ()
497- self .assertIsInstance (health , (dict , bool , str , type (None )))
498-
499491 def test_feature_availability_differences (self ):
500492 """Test feature availability between backend variants"""
501493 client = create_client ()
0 commit comments