MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / test_cleanup_operations

Method test_cleanup_operations

tests/test_faiss.py:432–441  ·  view source on GitHub ↗

Test cleanup operations.

(self)

Source from the content-addressed store, hash-verified

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."""

Callers 1

run_all_testsMethod · 0.95

Calls 3

assert_testMethod · 0.95
printFunction · 0.85
cleanupMethod · 0.45

Tested by

no test coverage detected