Pytest Function To Standard