| 28 | |
| 29 | @dataclass |
| 30 | class Test: |
| 31 | input: str |
| 32 | output: str |
| 33 | testtype: TestType |
| 34 | |
| 35 | def __post_init__(self): |
| 36 | self.testtype = TestType(self.testtype) |
| 37 | # if self.testtype == TestType.FUNCTIONAL: |
| 38 | # self.input = json.loads(self.input) |
| 39 | # self.output = json.loads(self.output) |
| 40 | |
| 41 | |
| 42 | @dataclass |