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

Method cleanup

tests/test_faiss.py:59–63  ·  view source on GitHub ↗

Cleanup test environment.

(self)

Source from the content-addressed store, hash-verified

57 print(f"Test directory: {self.test_dir}")
58
59 async def cleanup(self):
60 """Cleanup test environment."""
61 import shutil
62 if self.test_dir and self.test_dir.exists():
63 shutil.rmtree(self.test_dir)
64
65 def assert_test(self, condition: bool, test_name: str, message: str = ""):
66 """Assert test condition and track results."""

Callers 6

run_all_testsMethod · 0.95
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 2

existsMethod · 0.45
rmtreeMethod · 0.45

Tested by

no test coverage detected