On 01/20/2010 10:58 AM, Matt Schinckel wrote:
> On Jan 19, 7:21 am, Olivier Guilyardi <m...@xung.org> wrote:
>> 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.

[...]
>> 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
>>

[...]

> Drop into ./manage.py shell, and make sure you can import app.tests:
> errors doing this will silently fail.
> 
> (May or may not solve your problem, but it has happened to me about a
> dozen times today: I split my tests.py into:
> 
> tests/
>     __init__.py
>     integration/
>         __init__.py
>         *.py
>     unit/
>         __init__.py
>         *.py
> 
> and so on.)

Please see my last mail, this issue is resolved. Indeed it was import-related
and silently failing.

I believe this is a Django bug, although I got no comments to my last post.

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