Mock pytest for docs