On 01/18/2010 08:40 PM, Olivier Guilyardi wrote:
Hi,

I'm trying to split tests.py into individual files into a tests/ subfolder, but
that doesn't work.

I correctly import everything from within tests/__init__.py, as previously said
on this mailing list:
http://groups.google.com/group/django-users/browse_frm/thread/10cfd65e398360d2/dae3a7226dccdc5f

But that doesn't work. I tested on Django 1.0.2 and SVN r12255, same thing.

Wild guess: place the test code in normal python test files inside the tests/ folder instead of in the __init__.py? (I tend to keep that one virtually empty anyway).

Again: pretty wild guess ;-)

Reinout

--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Programmer/advisor at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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