|
5
|
| Kurt Peek · 技术社区 · 8 年前 |
|
|
1
4
你可以使用
这是我参与的大多数项目所采用的方法,无论是出于测试还是出于本地开发原因。 |
|
|
2
2
另一种方法是为Django创建一个测试运行程序,如中所述 https://pytest-django.readthedocs.io/en/latest/faq.html#how-can-i-use-manage-py-test-with-pytest-django |