mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
Fix PEP8 issues
This commit is contained in:
@@ -20,6 +20,7 @@ def test_get_whitelist_returns_data(client, sample_service_whitelist):
|
||||
'phone_numbers': []
|
||||
}
|
||||
|
||||
|
||||
def test_get_whitelist_separates_emails_and_phones(client, sample_service):
|
||||
dao_add_and_commit_whitelisted_contacts([
|
||||
ServiceWhitelist.from_string(sample_service.id, EMAIL_TYPE, 'service@example.com'),
|
||||
@@ -71,6 +72,7 @@ def test_update_whitelist_replaces_old_whitelist(client, sample_service_whitelis
|
||||
assert whitelist[0].recipient == '07123456789'
|
||||
assert whitelist[1].recipient == 'foo@bar.com'
|
||||
|
||||
|
||||
def test_update_whitelist_doesnt_remove_old_whitelist_if_error(client, sample_service_whitelist):
|
||||
|
||||
data = {
|
||||
|
||||
Reference in New Issue
Block a user