diff --git a/lemur/notifications/messaging.py b/lemur/notifications/messaging.py index 77c7923c..9aa61473 100644 --- a/lemur/notifications/messaging.py +++ b/lemur/notifications/messaging.py @@ -88,7 +88,7 @@ def send_expiration_notifications(): success = failure = 0 # security team gets all - security_email = current_app.config.get('LEMUR_SECURITY_EMAIL') + security_email = current_app.config.get('LEMUR_SECURITY_TEAM_EMAIL') security_data = [] for owner, notification_group in get_eligible_certificates().items(): @@ -109,7 +109,7 @@ def send_expiration_notifications(): else: failure += 1 - if send_notification('expiration', security_data, [security_email], notification): + if send_notification('expiration', security_data, security_email, notification): success += 1 else: failure += 1 diff --git a/setup.py b/setup.py index f07aca7e..52e086b8 100644 --- a/setup.py +++ b/setup.py @@ -70,6 +70,7 @@ tests_require = [ 'nose==1.3.7', 'pytest==3.0.5', 'factory-boy==2.7.0', + 'fake-factory==0.7.2', 'pytest-flask==0.10.0', 'freezegun==0.3.8' ] @@ -143,6 +144,7 @@ class BuildStatic(Command): except Exception as e: log.warn("Unable to build static content") + setup( name=about["__title__"], version=about["__version__"],