Only use xmlrunner if running under hudson

parent 3acedec7
...@@ -96,7 +96,9 @@ INSTALLED_APPS = ( ...@@ -96,7 +96,9 @@ INSTALLED_APPS = (
'djangorestframework', 'djangorestframework',
) )
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner' import os
TEST_OUTPUT_VERBOSE = True if os.environ.get('HUDSON_URL', None):
TEST_OUTPUT_DESCRIPTIONS = True TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
TEST_OUTPUT_DIR = 'xmlrunner' TEST_OUTPUT_VERBOSE = True
TEST_OUTPUT_DESCRIPTIONS = True
TEST_OUTPUT_DIR = 'xmlrunner'
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