On 7/27/07, Andrey Khavryuchenko <[EMAIL PROTECTED]> wrote:
>
> Then I've paused and wrote DbMock class for django that uses some black
> magic to steal django db connection and substitute it with temporary sqlite
> in-memory db.

How is this different to the default Django behavior if you specify
SQLite as your database? Can't you get exactly the same behavior by
creating a test_settings.py file that contains:

from settings import *
DATABASE_BACKEND='sqlite'

and then run:

./manage.py --settings=test_settings test

?

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to