aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/runtests/settings.py
diff options
context:
space:
mode:
authorTom Christie2012-10-27 10:48:12 -0700
committerTom Christie2012-10-27 10:48:12 -0700
commit1eb56ebdd922907fd6c0598f1cae659b8f8a4e42 (patch)
tree039f382fe72532552e759e51d09438d47b247d88 /rest_framework/runtests/settings.py
parent51a64019260d99e3c615b407353e344cf615da1e (diff)
parentb9e576f16ef7cc98f671e9c18ff8ae1a95bfe3ad (diff)
downloaddjango-rest-framework-1eb56ebdd922907fd6c0598f1cae659b8f8a4e42.tar.bz2
Merge pull request #326 from tomchristie/seperate-tests-app
Push tests into a seperate app namespace 'rest_framework.test'
Diffstat (limited to 'rest_framework/runtests/settings.py')
-rw-r--r--rest_framework/runtests/settings.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/rest_framework/runtests/settings.py b/rest_framework/runtests/settings.py
index 67de82c8..951b1e72 100644
--- a/rest_framework/runtests/settings.py
+++ b/rest_framework/runtests/settings.py
@@ -91,6 +91,7 @@ INSTALLED_APPS = (
# 'django.contrib.admindocs',
'rest_framework',
'rest_framework.authtoken',
+ 'rest_framework.tests'
)
STATIC_URL = '/static/'
@@ -100,14 +101,6 @@ import django
if django.VERSION < (1, 3):
INSTALLED_APPS += ('staticfiles',)
-# OAuth support is optional, so we only test oauth if it's installed.
-try:
- import oauth_provider
-except ImportError:
- pass
-else:
- INSTALLED_APPS += ('oauth_provider',)
-
# If we're running on the Jenkins server we want to archive the coverage reports as XML.
import os
if os.environ.get('HUDSON_URL', None):