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

Method cleanup

tests/test_file_system.py:32–36  ·  view source on GitHub ↗

Cleanup test environment.

(self)

Source from the content-addressed store, hash-verified

30 print(f"Test directory: {self.test_dir}")
31
32 async def cleanup(self):
33 """Cleanup test environment."""
34 import shutil
35 if self.test_dir and self.test_dir.exists():
36 shutil.rmtree(self.test_dir)
37
38 def assert_test(self, condition: bool, test_name: str, message: str = ""):
39 """Assert test condition and track results."""

Callers 1

run_all_testsMethod · 0.95

Calls 2

existsMethod · 0.45
rmtreeMethod · 0.45

Tested by

no test coverage detected