For Python versions Python3.3 and up, unittest.mock is the mock library. For older versions, you'll need ... To do this, initialize a variable with Mock() :
確定! 回上一頁