https://bestthaifoodrecipeshopppp.blogspot.com/2024/04/pytestmain-capture-standard-output.html
Pytest.main() Capture Standard Output