From 546680a94b56e4ce3d7b07f8b2e0744eda042f75 Mon Sep 17 00:00:00 2001 From: Matt Wright Date: Fri, 14 Mar 2014 15:33:25 -0400 Subject: [PATCH] Polish --- tests/test_context_processors.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/test_context_processors.py b/tests/test_context_processors.py index 34cdfdf..cf4cd91 100644 --- a/tests/test_context_processors.py +++ b/tests/test_context_processors.py @@ -12,14 +12,12 @@ from utils import authenticate, init_app_with_options def test_context_processors(app, sqlalchemy_datastore): init_app_with_options(app, sqlalchemy_datastore, **{ 'SECURITY_RECOVERABLE': True, - # 'SECURITY_PASSWORDLESS': True, 'SECURITY_REGISTERABLE': True, 'SECURITY_CONFIRMABLE': True, 'SECURITY_CHANGEABLE': True, 'SECURITY_LOGIN_WITHOUT_CONFIRMATION': True, 'SECURITY_CHANGE_PASSWORD_TEMPLATE': 'custom_security/change_password.html', 'SECURITY_LOGIN_USER_TEMPLATE': 'custom_security/login_user.html', - # 'SECURITY_SEND_LOGIN_TEMPLATE': 'custom_security/send_login.html', 'SECURITY_RESET_PASSWORD_TEMPLATE': 'custom_security/reset_password.html', 'SECURITY_FORGOT_PASSWORD_TEMPLATE': 'custom_security/forgot_password.html', 'SECURITY_SEND_CONFIRMATION_TEMPLATE': 'custom_security/send_confirmation.html', @@ -96,11 +94,3 @@ def test_passwordless_login_context_processor(app, sqlalchemy_datastore): response = client.get('/login') assert b'bar' in response.data - - # @app.security.mail_context_processor - # def mail(): - # return {'foo': 'bar'} - - - -