On Dec 19, 2:32 pm, "Martin Lundberg" <martin.lundb...@gmail.com>
wrote:
> Hello everyone!
>
> What do I need to do to be able to put my tests in a folder (called "tests")
> inside my application folders and make django run them?
>
> I want something like:
>
> /project/app1/tests/module_tests.py
> /project/app1/tests/module2_tests.py
> /project/app2/tests/module_tests.py
> /project/app2/tests/module2_tests.py
>
> Thanks in advance!
>
> -Martin

The only thing you'd need - as with all Python packages - is to put an
__init__py file (which can be empty) in the tests directory.
--
DR.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to