Add test for when there are no notifications on a certificate (#757)
This commit is contained in:
committed by
kevgliss
parent
f90076abe9
commit
1c295896e6
@ -131,10 +131,10 @@ def send_expiration_notifications(exclude):
|
||||
else:
|
||||
failure += 1
|
||||
|
||||
if send_notification('expiration', security_data, security_email, notification):
|
||||
success += 1
|
||||
else:
|
||||
failure += 1
|
||||
if send_notification('expiration', security_data, security_email, notification):
|
||||
success += 1
|
||||
else:
|
||||
failure += 1
|
||||
|
||||
return success, failure
|
||||
|
||||
|
Reference in New Issue
Block a user