When replying to inbound sms show templates in all user's folders

This commit is contained in:
Pea Tyczynska
2019-03-19 18:30:05 +00:00
parent 6925b36b27
commit 3fc4f6866c
6 changed files with 55 additions and 28 deletions

View File

@@ -7,6 +7,7 @@ from notifications_python_client.errors import HTTPError
from tests.conftest import (
SERVICE_ONE_ID,
TEMPLATE_ONE_ID,
_template,
active_caseworking_user,
active_user_view_permissions,
active_user_with_permissions,
@@ -31,15 +32,6 @@ def _folder(name, folder_id=None, parent=None, users_with_permission=None):
}
def _template(template_type, name, parent=None, template_id=None):
return {
'id': template_id or str(uuid.uuid4()),
'name': name,
'template_type': template_type,
'folder': parent,
}
@pytest.mark.parametrize(
(
'expected_title_tag,'