mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Remove letters-related code (#175)
This deletes a big ol' chunk of code related to letters. It's not everything—there are still a few things that might be tied to sms/email—but it's the the heart of letters function. SMS and email function should be untouched by this. Areas affected: - Things obviously about letters - PDF tasks, used for precompiling letters - Virus scanning, used for those PDFs - FTP, used to send letters to the printer - Postage stuff
This commit is contained in:
@@ -255,7 +255,7 @@ def test_user_can_be_archived_if_the_other_service_members_have_the_manage_setti
|
||||
|
||||
create_permissions(user_1, sample_service, 'manage_settings')
|
||||
create_permissions(user_2, sample_service, 'manage_settings', 'view_activity')
|
||||
create_permissions(user_3, sample_service, 'manage_settings', 'send_emails', 'send_letters', 'send_texts')
|
||||
create_permissions(user_3, sample_service, 'manage_settings', 'send_emails', 'send_texts')
|
||||
|
||||
assert len(sample_service.users) == 3
|
||||
assert user_can_be_archived(user_1)
|
||||
@@ -290,7 +290,7 @@ def test_user_cannot_be_archived_if_the_other_service_members_do_not_have_the_ma
|
||||
|
||||
create_permissions(active_user, sample_service, 'manage_settings')
|
||||
create_permissions(pending_user, sample_service, 'view_activity')
|
||||
create_permissions(inactive_user, sample_service, 'send_emails', 'send_letters', 'send_texts')
|
||||
create_permissions(inactive_user, sample_service, 'send_emails', 'send_texts')
|
||||
|
||||
assert len(sample_service.users) == 3
|
||||
assert not user_can_be_archived(active_user)
|
||||
|
||||
Reference in New Issue
Block a user