(self)
| 97 | return " ".join(parts) or "(<subtest>)" |
| 98 | |
| 99 | def _to_json(self) -> dict[str, Any]: |
| 100 | data = super()._to_json() |
| 101 | del data["context"] |
| 102 | data["_report_type"] = "SubTestReport" |
| 103 | data["_subtest.context"] = self.context._to_json() |
| 104 | return data |
| 105 | |
| 106 | @classmethod |
| 107 | def _from_json(cls, reportdict: dict[str, Any]) -> SubtestReport: |
no outgoing calls
no test coverage detected