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 MEDIA_ROOT = tempfile.mkdtemp(prefix='media-root')
26 INSTALLED_APPS += ('django_nose', 'dvcs.tests')
28 TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
29 #TEST_MODULES = ('catalogue')
31 TEST_MODULES = ('catalogue', 'dvcs.tests', 'wiki', 'toolbar')
32 COVER_APPS = ('catalogue', 'dvcs', 'wiki', 'toolbar')
34 '--tests=' + ','.join(TEST_MODULES),
35 '--cover-package=' + ','.join(COVER_APPS),