結果 : how to write unit tests for python code