Running doctests of app custom filters

2009-11-09 Thread Nicolas Perriault
Hi, first timer message here :) I'm discovering both Django and Python and loving them so far. I'm pretty excited by the abilities offered by doctests. I've written some custom template filters and would like their doctests to be executed when I run ./manage.py test myapp. I didn't find a way rea

Re: Running doctests

2008-09-01 Thread Guillaume Lederrey
Thanks for your very fast answer ! But ... see inline 2008/9/1 Malcolm Tredinnick <[EMAIL PROTECTED]>: > > > On Mon, 2008-09-01 at 22:48 +0200, Guillaume Lederrey wrote: >> Hello ! >> >> I have an app that has a "utils.py" module. I have written quite a few >> doctests inline. Now my problem is t

Re: Running doctests

2008-09-01 Thread Malcolm Tredinnick
On Mon, 2008-09-01 at 22:48 +0200, Guillaume Lederrey wrote: > Hello ! > > I have an app that has a "utils.py" module. I have written quite a few > doctests inline. Now my problem is to actually run those tests. > Reading the documentation, I get the feeling that I should be able to > call them

Running doctests

2008-09-01 Thread Guillaume Lederrey
Hello ! I have an app that has a "utils.py" module. I have written quite a few doctests inline. Now my problem is to actually run those tests. Reading the documentation, I get the feeling that I should be able to call them from the tests.py file, but I cant find an example. I have seen a few proj