On 5/20/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> Committed in [5296], along with a quick proof of concept test for the
> lorem ipsum template tag in contrib.webdesign.
>
> Caveats for new players - The contrib app needs to have a models.py in
> order for tests to be found, even if the tests are in tests.py. It
> doesn't matter if models.py is empty - it just needs to exist. Apps
> need to be loaded in order to be tested, and load_app requires that
> models.py exists.

Oh - one more thing.

To run the test for just one contrib app, use the name of the app:

./runtests.py --settings=foo webdesign

Side effect - modeltest, regressiontest, and contrib all share a
common namespace during test time - so don't create a modeltest called
'auth', etc. This was already the case for modeltest and
regressiontest. The only existing test affected by this is
regressiontest/markup, but this is a contrib test anyway, so I've
moved it into the new contrib location in [5297].

Russ %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to