Called after whole test run finished, right before returning the exit status to the system. :param pytest.Session session: The pytest session object. :param int exitstatus: The status which pytest will return to the system.
(
session: "Session",
exitstatus: Union[int, "ExitCode"],
)
| 604 | |
| 605 | |
| 606 | def pytest_sessionfinish( |
| 607 | session: "Session", |
| 608 | exitstatus: Union[int, "ExitCode"], |
| 609 | ) -> None: |
| 610 | """Called after whole test run finished, right before returning the exit status to the system. |
| 611 | |
| 612 | :param pytest.Session session: The pytest session object. |
| 613 | :param int exitstatus: The status which pytest will return to the system. |
| 614 | """ |
| 615 | |
| 616 | |
| 617 | def pytest_unconfigure(config: "Config") -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected