Fixing configuration value. (#610)

* Fixing and configuration value.

* Pinning fake factory.
This commit is contained in:
kevgliss 2016-12-18 18:21:12 -08:00 committed by GitHub
parent 0f3ffaade0
commit 51c7216b70
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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__"],