(reporttype: Type[reports.BaseReport])
| 467 | "reporttype", reporttypes, ids=[x.__name__ for x in reporttypes] |
| 468 | ) |
| 469 | def test_report_extra_parameters(reporttype: Type[reports.BaseReport]) -> None: |
| 470 | args = list(inspect.signature(reporttype.__init__).parameters.keys())[1:] |
| 471 | basekw: Dict[str, List[object]] = dict.fromkeys(args, []) |
| 472 | report = reporttype(newthing=1, **basekw) |
| 473 | assert report.newthing == 1 |
| 474 | |
| 475 | |
| 476 | def test_callinfo() -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected