mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 13:39:57 -04:00
Localize notification_utils to the admin
This changeset pulls in all of the notification_utils code directly into the admin and removes it as an external dependency. We are doing this to cut down on operational maintenance of the project and will begin removing parts of it no longer needed for the admin. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -5,8 +5,8 @@ import pytest
|
||||
from flask import url_for
|
||||
from freezegun import freeze_time
|
||||
from itsdangerous import SignatureExpired
|
||||
from notifications_utils.url_safe_token import generate_token
|
||||
|
||||
from notifications_utils.url_safe_token import generate_token
|
||||
from tests.conftest import SERVICE_ONE_ID, url_for_endpoint_with_token
|
||||
|
||||
|
||||
|
||||
@@ -12,11 +12,11 @@ from zipfile import BadZipFile
|
||||
import pytest
|
||||
from flask import url_for
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from notifications_utils.recipients import RecipientCSV
|
||||
from notifications_utils.template import SMSPreviewTemplate
|
||||
from xlrd.biffh import XLRDError
|
||||
from xlrd.xldate import XLDateAmbiguous, XLDateError, XLDateNegative, XLDateTooLarge
|
||||
|
||||
from notifications_utils.recipients import RecipientCSV
|
||||
from notifications_utils.template import SMSPreviewTemplate
|
||||
from tests import validate_route_permission, validate_route_permission_with_client
|
||||
from tests.conftest import (
|
||||
SERVICE_ONE_ID,
|
||||
|
||||
@@ -3,8 +3,8 @@ import uuid
|
||||
|
||||
import pytest
|
||||
from flask import url_for
|
||||
from notifications_utils.url_safe_token import generate_token
|
||||
|
||||
from notifications_utils.url_safe_token import generate_token
|
||||
from tests.conftest import (
|
||||
create_api_user_active,
|
||||
create_user,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import pytest
|
||||
from notifications_utils.template import Template
|
||||
|
||||
from app.utils.templates import get_sample_template
|
||||
from notifications_utils.template import Template
|
||||
|
||||
|
||||
@pytest.mark.parametrize("template_type", ["sms", "email"])
|
||||
|
||||
Reference in New Issue
Block a user