結果 : how to test logging python