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

Method setup

tests/test_file_system.py:25–30  ·  view source on GitHub ↗

Setup test environment.

(self)

Source from the content-addressed store, hash-verified

23 self.failed_tests = 0
24
25 async def setup(self):
26 """Setup test environment."""
27 self.test_dir = Path(tempfile.mkdtemp())
28 self.fs = FileSystem(base_dir=self.test_dir)
29 self.service = FileSystemService(self.test_dir)
30 print(f"Test directory: {self.test_dir}")
31
32 async def cleanup(self):
33 """Cleanup test environment."""

Callers 1

run_all_testsMethod · 0.95

Calls 2

FileSystemServiceClass · 0.90
printFunction · 0.85

Tested by

no test coverage detected