2009-12-18 18:29:34 +00:00
|
|
|
from settings import *
|
2010-04-09 16:10:23 -04:00
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
2012-11-27 16:22:03 -08:00
|
|
|
'NAME': 'memory',
|
2016-04-22 20:47:31 -07:00
|
|
|
'TEST_NAME': ':memory:',
|
2010-04-09 16:10:23 -04:00
|
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
|
|
'USER': 'newsblur',
|
|
|
|
'PASSWORD': '',
|
|
|
|
'HOST': '127.0.0.1',
|
|
|
|
}
|
|
|
|
}
|
2016-04-22 20:47:31 -07:00
|
|
|
|
|
|
|
# DATABASES = {
|
|
|
|
# 'default':{
|
|
|
|
# 'ENGINE': 'django.db.backends.sqlite3',
|
|
|
|
# 'NAME': ':memory:',
|
|
|
|
# 'TEST_NAME': ':memory:',
|
|
|
|
# },
|
|
|
|
# }
|
2010-08-21 13:57:39 -04:00
|
|
|
MONGO_DB = {
|
2012-11-27 16:22:03 -08:00
|
|
|
'name': 'newsblur_test',
|
|
|
|
'host': '127.0.0.1:27017',
|
|
|
|
}
|
2010-04-27 17:56:16 -04:00
|
|
|
|
2012-11-27 16:22:03 -08:00
|
|
|
MONGO_DATABASE_NAME = 'test_newsblur'
|
2009-12-18 18:29:34 +00:00
|
|
|
TEST_DATABASE_NAME = ":memory:"
|
2016-04-22 20:47:31 -07:00
|
|
|
SOUTH_TESTS_MIGRATE = False
|
2012-03-06 16:11:27 -08:00
|
|
|
DAYS_OF_UNREAD = 9999
|
2011-09-01 09:11:29 -07:00
|
|
|
TEST_DEBUG = True
|
2012-03-26 11:04:05 -07:00
|
|
|
DEBUG = True
|
2012-11-27 16:22:03 -08:00
|
|
|
SITE_ID = 2
|
|
|
|
RAVEN_CLIENT = None
|
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')
|