MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / setUp

Method setUp

tests/test_ws5_integration.py:396–403  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

394 """QueryEngine correctly uses fetch_system_prompt_parts."""
395
396 def setUp(self):
397 clear_memory_file_caches()
398 clear_git_caches()
399 clear_context_caches()
400 self.temp_dir = tempfile.TemporaryDirectory()
401 self.workspace = Path(self.temp_dir.name)
402 self.registry = build_default_registry()
403 self.context = ToolContext(workspace_root=self.workspace)
404
405 def tearDown(self):
406 clear_memory_file_caches()

Callers

nothing calls this directly

Calls 5

clear_memory_file_cachesFunction · 0.90
clear_git_cachesFunction · 0.90
clear_context_cachesFunction · 0.90
build_default_registryFunction · 0.90
ToolContextClass · 0.90

Tested by

no test coverage detected