You can use mocking, where you replace a function or class with a test-supplied version. You can do this with the unittest.mock() module.
確定! 回上一頁