Django doctests in views.py

前端 未结 7 2127
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 08:31

The Django 1.4 documentation on tests states:

For a given Django application, the test runner looks for doctests in two places:

  • The

相关标签:
7条回答
  • 2020-12-17 09:30

    You could try to write your own testrunner and see, if you can include other files to be checked for doc tests.

    http://docs.djangoproject.com/en/dev/topics/testing/#defining-a-test-runner

    0 讨论(0)
提交回复
热议问题