mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -05:00
add remove_whitelist tests
This commit is contained in:
@@ -130,9 +130,11 @@ def sample_service(notify_db,
|
||||
user=None,
|
||||
restricted=False,
|
||||
limit=1000,
|
||||
email_from="sample.service"):
|
||||
email_from=None):
|
||||
if user is None:
|
||||
user = sample_user(notify_db, notify_db_session)
|
||||
if email_from is None:
|
||||
email_from = service_name.lower().replace(' ', '.')
|
||||
data = {
|
||||
'name': service_name,
|
||||
'message_limit': limit,
|
||||
|
||||
Reference in New Issue
Block a user