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