2015-04-02 39 views

回答

1

它看起来并不像现成的方式来做到这一点,所以我added a PR to django-pytest来支持这一点。

以下内容添加到settings.py

TEST_RUNNER = 'pytest_django.runner.PyTestRunner' 

然后你就可以运行

manage.py test 
相关问题