On 01/18/2010 10:04 PM, Ramiro Morales wrote:
> On Mon, Jan 18, 2010 at 4:40 PM, Olivier Guilyardi <m...@xung.org> 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.
>>
>> Any clue?
> 
> What do you mean with "doesn't work" ?. Do you get a traceback? No
> error but your
> tests aren't being run?, ...

No error, the tests are not run. When splitting, it says:

Ran 0 tests in 0.000s

Instead of the following with tests.py:

Ran 14 tests in 1.875s

> Try with SVN r12254 because the test infrastructure was refactored in r12255
> and it still has some small rough edges.

I reverted back to r12254, same problem.

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