Hi again!,

  some "easy" questions to use tests in the best way.

  1. 'manage.py test' finds unittest in tests.py *and* models.py. It doesn't
     seem to find docstring other that in tests.py. I pasted the Animal
     example in a model but no test was run till I put it into tests.py.

     Am I mis-interpreting the docs where they say "the test utility will
     find this docstring"  or am I missing something?

     (moreover I was convinced that that worked the first time I tried it...)

  2. tests.py is runs for each application, but my code is composed
     obviously of general libraries, extensions to widgets, templatetags and
     so on. 

     Where is the reccomended place to put tests for these parts and does
     'manage test' provide some hooks for these or I should run these tests
     separately? 

Thanks again
sandro
*:-)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to