and, if anyone is interested, here is the answer -
http://south.readthedocs.org/en/latest/settings.html#south-tests-migrate

On Mon, Aug 20, 2012 at 7:36 PM, Anton Baklanov <antonbakla...@gmail.com>wrote:

> Hi Melvyn!
>
> Just tested it on dummy project, and you are right - django itself does
> not do anything like that.
> Problem is in South - when i remove it from INSTALLED_APPS 'manage.py test
> myapp' does not load any fixtures except 'initial_data'.
>
> So, i'm going to south sources now.
>
> Thanks!
>
>
> On Mon, Aug 20, 2012 at 12:01 PM, Melvyn Sopacua <m.r.sopa...@gmail.com>wrote:
>
>> On 19-8-2012 19:05, Anton Baklanov wrote:
>>
>> > When I'm running 'manage.py test myapp' it loads all fixtures that are
>> in
>> > 'myapp/fixtures' directory.
>>
>> Are you sure about that? I think it only loads what is loaded also with
>> syncdb, so initial_data.*.
>>
>> > And what I want is to find a way to tell django skip this fixtures and
>> > instead load some other ones or maybe no fixtures at all for certain
>> tests.
>> > Is it possible?
>>
>> Set the fixtures class attribute on your test class.
>>
>>
>> --
>> Melvyn Sopacua
>>
>> --
>> 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.
>>
>>
>
>
> --
> Regards,
> Anton Baklanov
>
>


-- 
Regards,
Anton Baklanov

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