mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-04-22 22:14:43 +00:00
Do not use progressive when we are not running in terminal
This commit is contained in:
parent
e455768352
commit
458f80050c
1 changed files with 3 additions and 1 deletions
|
|
@ -34,7 +34,6 @@ INSTALLED_APPS = [
|
|||
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
|
||||
NOSE_ARGS = [
|
||||
'-s',
|
||||
'--with-progressive',
|
||||
|
||||
# When the tests are run --with-coverage, these args configure coverage
|
||||
# reporting (requires coverage to be installed).
|
||||
|
|
@ -45,6 +44,9 @@ NOSE_ARGS = [
|
|||
'--cover-html-dir=%s' % os.path.join(BASE_PATH, 'cover')
|
||||
]
|
||||
|
||||
if os.getenv('TERM'):
|
||||
NOSE_ARGS.append('--with-progressive')
|
||||
|
||||
DEBUG = True
|
||||
TEMPLATE_DEBUG = DEBUG
|
||||
CACHE_BACKEND = 'locmem://'
|
||||
|
|
|
|||
Loading…
Reference in a new issue