fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor fix for tests.
[redakcja.git]
/
redakcja
/
settings
/
test.py
diff --git
a/redakcja/settings/test.py
b/redakcja/settings/test.py
index
1997c96
..
dcbbb1f
100644
(file)
--- a/
redakcja/settings/test.py
+++ b/
redakcja/settings/test.py
@@
-20,15
+20,19
@@
DATABASES = {
import tempfile
CATALOGUE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo')
import tempfile
CATALOGUE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo')
+MEDIA_ROOT = tempfile.mkdtemp(prefix='media-root')
+USE_CELERY = False
INSTALLED_APPS += ('django_nose', 'dvcs.tests')
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
INSTALLED_APPS += ('django_nose', 'dvcs.tests')
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
+#TEST_MODULES = ('catalogue')
+
TEST_MODULES = ('catalogue', 'dvcs.tests', 'wiki', 'toolbar')
TEST_MODULES = ('catalogue', 'dvcs.tests', 'wiki', 'toolbar')
-
#
COVER_APPS = ('catalogue', 'dvcs', 'wiki', 'toolbar')
+COVER_APPS = ('catalogue', 'dvcs', 'wiki', 'toolbar')
NOSE_ARGS = (
'--tests=' + ','.join(TEST_MODULES),
NOSE_ARGS = (
'--tests=' + ','.join(TEST_MODULES),
- '--cover-package=' + ','.join(
TEST_MODULE
S),
+ '--cover-package=' + ','.join(
COVER_APP
S),
'-d',
'--with-doctest',
'--with-xunit',
'-d',
'--with-doctest',
'--with-xunit',