Add settings module for easy testing during development.

Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
Michael Price
2018-03-14 21:51:17 -04:00
committed by Roberto Rosario
parent ad3bce178c
commit d991c82693
2 changed files with 8 additions and 2 deletions

View File

@@ -73,10 +73,10 @@ clean-pyc:
# Testing
test:
./manage.py test $(MODULE) --settings=mayan.settings.testing --nomigrations
./manage.py test $(MODULE) --settings=mayan.settings.testing.development --nomigrations
test-all:
./manage.py test --mayan-apps --settings=mayan.settings.testing --nomigrations
./manage.py test --mayan-apps --settings=mayan.settings.testing.development --nomigrations
test-launch-postgres:
@docker rm -f test-postgres || true

View File

@@ -0,0 +1,6 @@
from __future__ import unicode_literals
from .base import * # NOQA
SIGNATURES_GPG_PATH = '/usr/bin/gpg1'