From 1f8d10f8c2f44edaff0b04130f5e81ef1f91a798 Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Tue, 8 Mar 2016 19:46:20 -0300 Subject: [PATCH] Arruma o python-decouple --- decouple.env => sapl/decouple.env | 0 sapl/settings.py | 1 + sapl/test_config.py | 5 +++++ 3 files changed, 6 insertions(+) rename decouple.env => sapl/decouple.env (100%) create mode 100644 sapl/test_config.py diff --git a/decouple.env b/sapl/decouple.env similarity index 100% rename from decouple.env rename to sapl/decouple.env diff --git a/sapl/settings.py b/sapl/settings.py index b6b4c5a6a..cbaac9a7a 100644 --- a/sapl/settings.py +++ b/sapl/settings.py @@ -18,6 +18,7 @@ from decouple import config BASE_DIR = Path(__file__).ancestor(2) + # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/ diff --git a/sapl/test_config.py b/sapl/test_config.py new file mode 100644 index 000000000..5231c76d2 --- /dev/null +++ b/sapl/test_config.py @@ -0,0 +1,5 @@ +from .settings import EMAIL_PORT + + +def test_config(): + assert EMAIL_PORT == 587