diff --git a/app/main/views/templates.py b/app/main/views/templates.py index 62368afc2..982832e9a 100644 --- a/app/main/views/templates.py +++ b/app/main/views/templates.py @@ -7,7 +7,7 @@ from dateutil.parser import parse from notifications_utils.template import Template from notifications_utils.recipients import first_column_heading -from notify_client import HTTPError +from notifications_python_client.errors import HTTPError from app.main import main from app.utils import user_has_permissions diff --git a/tests/app/main/views/test_templates.py b/tests/app/main/views/test_templates.py index ae24d00d5..56fe515cf 100644 --- a/tests/app/main/views/test_templates.py +++ b/tests/app/main/views/test_templates.py @@ -5,7 +5,7 @@ import pytest from bs4 import BeautifulSoup from flask import url_for from freezegun import freeze_time -from notify_client import HTTPError +from notifications_python_client.errors import HTTPError from tests import validate_route_permission, template_json, single_notification_json from app.main.views.templates import get_last_use_message, get_human_readable_delta diff --git a/tests/conftest.py b/tests/conftest.py index e72c9ca42..12b9e95b5 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -20,7 +20,7 @@ from app.notify_client.models import ( InvitedUser ) -from notify_client.errors import HTTPError +from notifications_python_client.errors import HTTPError @pytest.fixture(scope='session')