2009-12-18 18:29:34 +00:00
|
|
|
from settings import *
|
2010-04-09 16:10:23 -04:00
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'NAME': ':memory:',
|
|
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
|
|
'USER': 'newsblur',
|
|
|
|
'PASSWORD': '',
|
|
|
|
'HOST': '127.0.0.1',
|
|
|
|
}
|
|
|
|
}
|
2010-08-21 13:57:39 -04:00
|
|
|
MONGO_DB = {
|
|
|
|
'NAME': 'newsblur_test',
|
|
|
|
'HOST': '127.0.0.1',
|
|
|
|
'PORT': 27017
|
|
|
|
}
|
2010-04-27 17:56:16 -04:00
|
|
|
|
2009-12-18 18:29:34 +00:00
|
|
|
TEST_DATABASE_NAME = ":memory:"
|
|
|
|
|
2011-09-01 09:11:29 -07:00
|
|
|
TEST_DEBUG = True
|
|
|
|
|
2009-12-18 18:29:34 +00:00
|
|
|
# from django.db import connection
|
|
|
|
# cursor = connection.cursor()
|
|
|
|
# cursor.execute('PRAGMA temp_store = MEMORY;')
|
|
|
|
# cursor.execute('PRAGMA synchronous=OFF')
|