Add no cover pragma to settings
This commit is contained in:
parent
b347055bd1
commit
2fb616b17c
@ -84,7 +84,9 @@ USE_TZ = True
|
|||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
STATIC_ROOT = 'static'
|
STATIC_ROOT = 'static'
|
||||||
|
|
||||||
if STATIC_ROOT != 'static':
|
# The following will be always True on local machines, which makes
|
||||||
|
# coverage data ugly
|
||||||
|
if STATIC_ROOT != 'static': # pragma: no cover
|
||||||
STATICFILES_DIRS = (
|
STATICFILES_DIRS = (
|
||||||
os.path.join(BASE_DIR, 'static'),
|
os.path.join(BASE_DIR, 'static'),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user