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.
This commit is contained in:
Carlos Andrés Rocha
2013-08-15 19:31:30 -04:00
parent c9e0d36d16
commit bbfe3662e2
4 changed files with 5 additions and 5 deletions

View File

@@ -332,6 +332,9 @@ INSTALLED_APPS = (
# Monitor the status of services
'service_status',
# Testing
'django_nose',
# For CMS
'contentstore',
'auth',
@@ -339,7 +342,7 @@ INSTALLED_APPS = (
'student', # misleading name due to sharing with lms
'course_groups', # not used in cms (yet), but tests run
# tracking
# Tracking
'track',
# For asset pipelining

View File

@@ -18,7 +18,6 @@ from path import path
from warnings import filterwarnings
# Nose Test Runner
INSTALLED_APPS += ('django_nose',)
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
TEST_ROOT = path('test_root')

View File

@@ -758,6 +758,7 @@ INSTALLED_APPS = (
# For testing
'django.contrib.admin', # only used in DEBUG mode
'django_nose',
'debug',
# Discussion forums
@@ -816,4 +817,3 @@ def enable_theme(theme_name):
# avoid collisions with default edX static files
STATICFILES_DIRS.append((u'themes/%s' % theme_name,
theme_root / 'static'))

View File

@@ -39,8 +39,6 @@ WIKI_ENABLED = True
SOUTH_TESTS_MIGRATE = False # To disable migrations and use syncdb instead
# Nose Test Runner
INSTALLED_APPS += ('django_nose',)
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
# Local Directories