add var in config
This commit is contained in:
parent
3157c34ab8
commit
f36fa2bb7d
|
@ -68,3 +68,6 @@ class DevicehubConfig(Config):
|
|||
|
||||
"""Admin email"""
|
||||
EMAIL_ADMIN = config('EMAIL_ADMIN', '')
|
||||
|
||||
"""Definition of path where save the documents of customers"""
|
||||
PATH_DOCUMENTS_STORAGE = config('PATH_DOCUMENTS_STORAGE', '/tmp/')
|
||||
|
|
|
@ -33,6 +33,7 @@ class TestConfig(DevicehubConfig):
|
|||
TMP_SNAPSHOTS = '/tmp/snapshots'
|
||||
TMP_LIVES = '/tmp/lives'
|
||||
EMAIL_ADMIN = 'foo@foo.com'
|
||||
PATH_DOCUMENTS_STORAGE = '/tmp/trade_documents'
|
||||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
|
|
Reference in New Issue