Convert test case to dictionary.
(self)
| 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 |