From ae180fa3378418ae27833759d737296d51d0bc25 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 31 Mar 2016 16:43:55 -0300 Subject: [PATCH] =?UTF-8?q?Remove=20teste=20desnecess=C3=A1rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/test_config.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 sapl/test_config.py diff --git a/sapl/test_config.py b/sapl/test_config.py deleted file mode 100644 index fa0f8e621..000000000 --- a/sapl/test_config.py +++ /dev/null @@ -1,25 +0,0 @@ -from .settings import EMAIL_PORT -from .settings import SECRET_KEY -from .settings import DEBUG -from .settings import DATABASES -from .settings import EMAIL_USE_TLS -from .settings import EMAIL_HOST -from .settings import EMAIL_HOST_USER -from .settings import EMAIL_HOST_PASSWORD - -data = DATABASES.get('default') - - -def test_config(): - assert EMAIL_PORT == 587 - assert SECRET_KEY == '!9g1-#la+#(oft(v-y1qhy$jk-2$24pdk69#b_jfqyv!*%a_)t' - assert DEBUG is True - assert data.get('NAME') == 'sapl' - assert data.get('USER') == 'sapl' - assert data.get('PASSWORD') == 'sapl' - assert data.get('HOST') == 'localhost' - assert data.get('PORT') == '5432' - assert EMAIL_USE_TLS is True - assert EMAIL_HOST == 'smtp.interlegis.leg.br' - assert EMAIL_HOST_USER == 'sapl-test' - assert EMAIL_HOST_PASSWORD == '2BhCwbGHcZ'