I found: def pytest_sessionfinish(session, exitstatus): """ whole test run finishes. """ exitstatus can be used to define which action to run. pytest docs ...
確定! 回上一頁