--
()_() | 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 |
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