X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/05f67adb27390c7a9cf214e83550d3bbca88c8f2..d8990e1ab64fe3bf453d06fab8e983d25f2df2c4:/redakcja/settings/test.py diff --git a/redakcja/settings/test.py b/redakcja/settings/test.py index 717de290..80b9a3d7 100644 --- a/redakcja/settings/test.py +++ b/redakcja/settings/test.py @@ -20,8 +20,9 @@ DATABASES = { import tempfile CATALOGUE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo') +CATALOGUE_IMAGE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo-img') MEDIA_ROOT = tempfile.mkdtemp(prefix='media-root') -USE_CELERY = False +CELERY_ALWAYS_EAGER = True INSTALLED_APPS += ('django_nose', 'dvcs.tests') @@ -36,3 +37,5 @@ NOSE_ARGS = ( '--with-xunit', '--with-xcoverage', ) + +SECRET_KEY = "not-so-secret"