5 from redakcja.settings.common import *
7 # ROOT_URLCONF = 'yourapp.settings.test.urls'
11 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
12 'NAME': '', # Or path to database file if using sqlite3.
13 'USER': '', # Not used with sqlite3.
14 'PASSWORD': '', # Not used with sqlite3.
15 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
16 'PORT': '', # Set to empty string for default. Not used with sqlite3.
22 CATALOGUE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo')
23 CATALOGUE_IMAGE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo-img')
24 MEDIA_ROOT = tempfile.mkdtemp(prefix='media-root')
25 CELERY_ALWAYS_EAGER = True
27 INSTALLED_APPS += ('django_nose', 'dvcs.tests')
29 TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
30 TEST_MODULES = ('catalogue', 'cover', 'dvcs.tests', 'wiki', 'toolbar')
31 COVER_APPS = ('catalogue', 'cover', 'dvcs', 'wiki', 'toolbar')
33 '--tests=' + ','.join(TEST_MODULES),
34 '--cover-package=' + ','.join(COVER_APPS),
41 SECRET_KEY = "not-so-secret"