2015-03-28 08:25:56 +00:00
|
|
|
SECRET_KEY = 'secret_key'
|
|
|
|
|
SOUTH_TESTS_MIGRATE = True
|
|
|
|
|
|
|
|
|
|
TESTING = True
|
|
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
|
'default': {
|
|
|
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
|
|
|
'NAME': ':memory:',
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2015-04-09 04:36:15 +00:00
|
|
|
MIDDLEWARE_CLASSES = (
|
|
|
|
|
'django.contrib.sessions.middleware.SessionMiddleware',
|
|
|
|
|
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
|
|
|
|
)
|
2015-03-28 08:25:56 +00:00
|
|
|
|
|
|
|
|
INSTALLED_APPS = (
|
2015-04-09 04:36:15 +00:00
|
|
|
'django.contrib.admin',
|
2015-03-28 08:25:56 +00:00
|
|
|
'django.contrib.auth',
|
|
|
|
|
'django.contrib.contenttypes',
|
2015-04-09 04:36:15 +00:00
|
|
|
'django.contrib.sessions',
|
2015-03-28 08:25:56 +00:00
|
|
|
'notifications',
|
|
|
|
|
)
|
|
|
|
|
|
2015-04-09 04:36:15 +00:00
|
|
|
ROOT_URLCONF = 'notifications.tests.urls'
|
2015-03-29 06:37:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
# Need to skip migrations for now as migrations created with python2 break with python3
|
|
|
|
|
# See https://code.djangoproject.com/ticket/23455
|
|
|
|
|
class DisableMigrations(object):
|
|
|
|
|
def __contains__(self, item):
|
|
|
|
|
return True
|
|
|
|
|
def __getitem__(self, item):
|
|
|
|
|
return "notmigrations"
|
|
|
|
|
|
|
|
|
|
MIGRATION_MODULES = DisableMigrations()
|
|
|
|
|
|