MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / TestCase

Class TestCase

methods/memOS/MemOS/examples/mem_reader/samples.py:12–26  ·  view source on GitHub ↗

Base class for test cases.

Source from the content-addressed store, hash-verified

10
11@dataclass
12class TestCase:
13 """Base class for test cases."""
14
15 name: str
16 description: str
17 scene_data: Any
18 expected_count: dict[str, int] = field(default_factory=dict)
19
20 def get_info(self) -> dict[str, Any]:
21 """Get info dict for this test case."""
22 return {
23 "user_id": "test_user",
24 "session_id": f"session_{self.name}",
25 "test_case": self.name,
26 }
27
28
29# ============================================================================

Callers 1

samples.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected