你能给出一些在Django单元测试中使用Mock()的明确例子吗?我想更清楚地理解它.
更新:我已经找到了一些东西,所以我在下面分享.
python unit-testing mocking
mocking ×1
python ×1
unit-testing ×1