Commit 4e0f3d07 by Carlos Andrés Rocha

Merge pull request #706 from rocha/enable-django-nose-for-all

Enable the django_nose app by default
parents e91205af bbfe3662
...@@ -332,6 +332,9 @@ INSTALLED_APPS = ( ...@@ -332,6 +332,9 @@ INSTALLED_APPS = (
# Monitor the status of services # Monitor the status of services
'service_status', 'service_status',
# Testing
'django_nose',
# For CMS # For CMS
'contentstore', 'contentstore',
'auth', 'auth',
...@@ -339,7 +342,7 @@ INSTALLED_APPS = ( ...@@ -339,7 +342,7 @@ INSTALLED_APPS = (
'student', # misleading name due to sharing with lms 'student', # misleading name due to sharing with lms
'course_groups', # not used in cms (yet), but tests run 'course_groups', # not used in cms (yet), but tests run
# tracking # Tracking
'track', 'track',
# For asset pipelining # For asset pipelining
......
...@@ -18,7 +18,6 @@ from path import path ...@@ -18,7 +18,6 @@ from path import path
from warnings import filterwarnings from warnings import filterwarnings
# Nose Test Runner # Nose Test Runner
INSTALLED_APPS += ('django_nose',)
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
TEST_ROOT = path('test_root') TEST_ROOT = path('test_root')
......
...@@ -758,6 +758,7 @@ INSTALLED_APPS = ( ...@@ -758,6 +758,7 @@ INSTALLED_APPS = (
# For testing # For testing
'django.contrib.admin', # only used in DEBUG mode 'django.contrib.admin', # only used in DEBUG mode
'django_nose',
'debug', 'debug',
# Discussion forums # Discussion forums
...@@ -816,4 +817,3 @@ def enable_theme(theme_name): ...@@ -816,4 +817,3 @@ def enable_theme(theme_name):
# avoid collisions with default edX static files # avoid collisions with default edX static files
STATICFILES_DIRS.append((u'themes/%s' % theme_name, STATICFILES_DIRS.append((u'themes/%s' % theme_name,
theme_root / 'static')) theme_root / 'static'))
...@@ -39,8 +39,6 @@ WIKI_ENABLED = True ...@@ -39,8 +39,6 @@ WIKI_ENABLED = True
SOUTH_TESTS_MIGRATE = False # To disable migrations and use syncdb instead SOUTH_TESTS_MIGRATE = False # To disable migrations and use syncdb instead
# Nose Test Runner # Nose Test Runner
INSTALLED_APPS += ('django_nose',)
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
# Local Directories # Local Directories
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment