diff --git a/ereuse_devicehub/config.py b/ereuse_devicehub/config.py index beef8b25..02d97da3 100644 --- a/ereuse_devicehub/config.py +++ b/ereuse_devicehub/config.py @@ -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/') diff --git a/tests/conftest.py b/tests/conftest.py index d0a0bdd2..94abed59 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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')