Only use xmlrunner if running under hudson

parent 7566de1c
...@@ -106,7 +106,9 @@ INSTALLED_APPS = ( ...@@ -106,7 +106,9 @@ INSTALLED_APPS = (
'blogpost', 'blogpost',
) )
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
\ No newline at end of file TEST_OUTPUT_DESCRIPTIONS = True
TEST_OUTPUT_DIR = 'xmlrunner'
\ No newline at end of file
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