> If your looking for an example to follow, the code for
> django.test.simple isn't too hard to tear apart and customize for your
> own purposes.
OK. Here's how I solved it:
from django.test.simple import *
from django.test.simple import run_tests as orig_run_tests
# my app is called 'classes'
On Thu, Sep 4, 2008 at 11:13 PM, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
>
> From http://www.djangoproject.com/documentation/testing/
> "4. Looking for unit tests and doctests in the models.py and tests.py
> files in each installed application."
>
> Next to models.py I have forms.py which does
>From http://www.djangoproject.com/documentation/testing/
"4. Looking for unit tests and doctests in the models.py and tests.py
files in each installed application."
Next to models.py I have forms.py which does exactly what the filename
suggests: it defines forms. I've put some doctests in these
3 matches
Mail list logo