結果 : how to unit test a function that calls another function python