Commit bbfe3662 by Carlos Andrés Rocha

Enable the django_nose app by default

The django_nose it is very useful, even outside the test
environment. For example, it lets you to easily run test from
manage.py without additional changes to the test packages.
parent c9e0d36d
...@@ -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