Test cleanup operations.
(self)
| 430 | self.assert_test(True, "Add with mismatched metadata", "Handled gracefully") |
| 431 | |
| 432 | async def test_cleanup_operations(self): |
| 433 | """Test cleanup operations.""" |
| 434 | print("\n=== Testing Cleanup Operations ===") |
| 435 | |
| 436 | # Test service cleanup |
| 437 | try: |
| 438 | await self.faiss_service.cleanup() |
| 439 | self.assert_test(True, "Service cleanup", "Cleanup completed successfully") |
| 440 | except Exception as e: |
| 441 | self.assert_test(False, "Service cleanup", f"Cleanup failed: {e}") |
| 442 | |
| 443 | async def run_all_tests(self): |
| 444 | """Run all tests.""" |
no test coverage detected