Configure Django to find all doctests in all modules?

后端 未结 5 1912
终归单人心
终归单人心 2021-02-14 09:27

If I run the following command:

>python manage.py test

Django looks at tests.py in my application, and runs any doctests or unit tests in th

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-14 10:23

    Use django-nose since nose automatically find all tests recursivelly.

提交回复
热议问题