Saturday, November 26, 2011

Re: disabling south for running tests

On 25 November 2011 23:59, Gelonida N <gelonida@gmail.com> wrote:
> Hi,
>
> As for testing the database is created from scratch and as migrations
> are not really needed in this case I decided to disable south for
> running tests.
>
> I just wondered whether there were alternative /  more elegant ways.

There's a setting built into South which does this:
SOUTH_TESTS_MIGRATE
[http://south.aeracode.org/docs/settings.html#south-tests-migrate]

Regards,

Chris Northwood

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment