from unittest import mock def get_sum(x, y): pass if __name__ == '__main__': get_sum = mock.Mock() get_sum.return_value = 20 result ...
確定! 回上一頁