On Wed, 2007-03-07 at 19:07 +0100, Bram - Smartelectronix wrote:
> Malcolm Tredinnick wrote:
> > On Wed, 2007-03-07 at 02:34 +0100, Bram - Smartelectronix wrote:
> >> Malcolm Tredinnick wrote:
> >>> (2) This is the sort of thing that should come with a test to ensure we
> >>> don't introduce the same mistake again. Have a look in
> >>> tests/regressiontests/templates/tests.py for related tests and add a
> >>> couple of options in there.
> >> i forgot to ask: should additions to the tests be part of the ticket /
> >> patch?
> >
> > Yes. The idea is to commit regression tests at the same time as we
> > commit the fix.
>
> ok, ... I'm trying to figure out how to tun the template regression
> tests by their own, but having no luck. I CAN run the whole test-suite (
> i created the minimal settings.py needed), but now i only want that one
> suite of tests to run...
It's a bit of a hidden feature, but you would run
runtests.py --settings=my_settings templates
Chop off the leading modeltests/ or regressiontests/ directory and then
give the name of the test directory to run. That will just run that
directory of tests.
Regards,
Malcolm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---