From d991c8269374fd615475b09e4216fda39ed46362 Mon Sep 17 00:00:00 2001 From: Michael Price Date: Wed, 14 Mar 2018 21:51:17 -0400 Subject: [PATCH] Add settings module for easy testing during development. Signed-off-by: Michael Price --- Makefile | 4 ++-- mayan/settings/testing/development.py | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 mayan/settings/testing/development.py diff --git a/Makefile b/Makefile index f1db8ac94a..4f8d9a7dd8 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/mayan/settings/testing/development.py b/mayan/settings/testing/development.py new file mode 100644 index 0000000000..3dac93a99d --- /dev/null +++ b/mayan/settings/testing/development.py @@ -0,0 +1,6 @@ +from __future__ import unicode_literals + +from .base import * # NOQA + +SIGNATURES_GPG_PATH = '/usr/bin/gpg1' +