From 026c7d391b2cc7b49e181633aacb258747d58124 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 5ee316011e..784ffe3df7 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' +