mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-01 14:04:02 +03:00
Only use xmlrunner if running under hudson
This commit is contained in:
parent
3acedec771
commit
7566de1cae
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user