結果 : how to test logger python