gderazon wrote:
>> tests/
>> +- __init__.py
>> +- test1.py
>> +- test2.py
>> \- test3.py

if you are using unittest in __init__.py:

from test1.py import *
from test2.py import *
from test3.py import *

if you are using doctest in __init__.py:

from test1 import MY_TEST1
from test2 import MY_TEST2
from test3 import MY_TEST3

__test__ = {
  'test1' : MY_TEST1,
  'test2' : MY_TEST2,
  'test3' : MY_TEST3,
}

docs:
http://docs.djangoproject.com/en/dev/topics/testing/
http://docs.python.org/library/unittest.html
http://docs.python.org/library/doctest.html

-- 
()_() | That said, I didn't actually _test_ my patch.      | +----
(o.o) | That's what users are for!                         | +---+
'm m' |                                   (Linus Torvalds) |  O  |
(___) |                      raffaele at salmaso punto org |

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