結果 : how to write test case in python