A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Move testing ENV vars into pytest.ini
Daniel Quinn2ac1b78a2cf4
diff --git a/requirements.txt b/requirements.txtindex 5d06b577d..bb545e961 100644--- a/requirements.txt+++ b/requirements.txt@@ -19,6 +19,7 @@ gunicorn==19.6.0pytestpytest-djangopytest-sugar+pytest-envpep8flake8toxdiff --git a/src/pytest.ini b/src/pytest.iniindex abce1c325..ddd35da7c 100644--- a/src/pytest.ini+++ b/src/pytest.ini@@ -1,3 +1,7 @@[pytest]DJANGO_SETTINGS_MODULE=paperless.settings-+env =+ PAPERLESS_CONSUME=/tmp+ PAPERLESS_PASSPHRASE=THISISNOTASECRET+ PAPERLESS_SECRET=paperless+ PAPERLESS_EMAIL_SECRET=paperlessdiff --git a/src/tox.ini b/src/tox.iniindex 24d78f5b3..85d7b5c95 100644--- a/src/tox.ini+++ b/src/tox.ini@@ -8,13 +8,8 @@ skipsdist = Trueenvlist = py34, py35, py36, pep8[testenv]-commands = {envpython} manage.py test+commands = pytestdeps = -r{toxinidir}/../requirements.txt-setenv =- PAPERLESS_CONSUME=/tmp- PAPERLESS_PASSPHRASE=THISISNOTASECRET- PAPERLESS_SECRET=paperless- PAPERLESS_EMAIL_SECRET=paperless[testenv:pep8]commands=pep8