MCPcopy Create free account
hub / github.com/nlweb-ai/NLWeb / to_dict

Method to_dict

AskAgent/python/testing/base_test_runner.py:42–49  ·  view source on GitHub ↗

Convert test case to dictionary.

(self)

Source from the content-addressed store, hash-verified

40 description: str
41
42 def to_dict(self) -> dict[str, Any]:
43 """Convert test case to dictionary."""
44 return {
45 'test_type': self.test_type.value,
46 'test_id': self.test_id,
47 'original_case_num': self.original_case_num,
48 'description': self.description
49 }
50
51
52@dataclass

Callers 2

to_dictMethod · 0.45
run_testsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected