X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/753e8bf1e2fe3ccc0a21166cc7da1d88c08bbb89..60fb768e247f66ddd18b8cac2101fdc3996ba67b:/redakcja/settings/test.py?ds=sidebyside diff --git a/redakcja/settings/test.py b/redakcja/settings/test.py index 1997c967..5fbd59f5 100644 --- a/redakcja/settings/test.py +++ b/redakcja/settings/test.py @@ -20,15 +20,16 @@ DATABASES = { import tempfile CATALOGUE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo') +USE_CELERY = False INSTALLED_APPS += ('django_nose', 'dvcs.tests') TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' 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), - '--cover-package=' + ','.join(TEST_MODULES), + '--cover-package=' + ','.join(COVER_APPS), '-d', '--with-doctest', '--with-xunit',