Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将基于硒的测试添加到我的 django 单元测试中,并且我需要测试文件上传功能。建议之一是单元测试不应生成或读取任何文件。
我应该如何编写测试来满足这个要求?