fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow adding fake publish records.
[redakcja.git]
/
redakcja
/
settings
/
test.py
diff --git
a/redakcja/settings/test.py
b/redakcja/settings/test.py
index
717de29
..
80b9a3d
100644
(file)
--- 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')
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')
MEDIA_ROOT = tempfile.mkdtemp(prefix='media-root')
-
USE_CELERY = Fals
e
+
CELERY_ALWAYS_EAGER = Tru
e
INSTALLED_APPS += ('django_nose', 'dvcs.tests')
INSTALLED_APPS += ('django_nose', 'dvcs.tests')
@@
-36,3
+37,5
@@
NOSE_ARGS = (
'--with-xunit',
'--with-xcoverage',
)
'--with-xunit',
'--with-xcoverage',
)
+
+SECRET_KEY = "not-so-secret"