mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
36 lines
No EOL
828 B
Python
36 lines
No EOL
828 B
Python
from settings import *
|
|
DATABASES = {
|
|
'default': {
|
|
'NAME': 'memory',
|
|
'TEST_NAME': ':memory:',
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
'USER': 'newsblur',
|
|
'PASSWORD': '',
|
|
'HOST': '127.0.0.1',
|
|
}
|
|
}
|
|
|
|
# DATABASES = {
|
|
# 'default':{
|
|
# 'ENGINE': 'django.db.backends.sqlite3',
|
|
# 'NAME': ':memory:',
|
|
# 'TEST_NAME': ':memory:',
|
|
# },
|
|
# }
|
|
MONGO_DB = {
|
|
'name': 'newsblur_test',
|
|
'host': '127.0.0.1:27017',
|
|
}
|
|
|
|
MONGO_DATABASE_NAME = 'test_newsblur'
|
|
TEST_DATABASE_NAME = ":memory:"
|
|
SOUTH_TESTS_MIGRATE = False
|
|
DAYS_OF_UNREAD = 9999
|
|
TEST_DEBUG = True
|
|
DEBUG = True
|
|
SITE_ID = 2
|
|
RAVEN_CLIENT = None
|
|
# from django.db import connection
|
|
# cursor = connection.cursor()
|
|
# cursor.execute('PRAGMA temp_store = MEMORY;')
|
|
# cursor.execute('PRAGMA synchronous=OFF') |