結果 : how to write tests for python code