mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
inline notifications-python-client
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import pytest
|
||||
from flask import Response, url_for
|
||||
from flask_wtf.csrf import CSRFError
|
||||
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import pytest
|
||||
from flask import url_for
|
||||
from freezegun import freeze_time
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests import organization_json, service_json
|
||||
from tests.conftest import (
|
||||
ORGANISATION_ID,
|
||||
|
||||
@@ -5,9 +5,9 @@ from uuid import uuid4
|
||||
import pytest
|
||||
from flask import url_for
|
||||
from freezegun import freeze_time
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
import app
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests import (
|
||||
find_element_by_tag_and_partial_text,
|
||||
organization_json,
|
||||
|
||||
@@ -3,9 +3,9 @@ from unittest.mock import ANY, Mock, call
|
||||
import pytest
|
||||
from flask import url_for
|
||||
from freezegun import freeze_time
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
import app
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests import service_json
|
||||
from tests.conftest import (
|
||||
SERVICE_ONE_ID,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import pytest
|
||||
from flask import url_for
|
||||
from freezegun import freeze_time
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from app.utils.user import is_gov_user
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests import organization_json
|
||||
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@ from unittest.mock import Mock
|
||||
import pytest
|
||||
from flask import url_for
|
||||
from freezegun import freeze_time
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from app.main.views.conversation import get_user_number
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests.conftest import (
|
||||
SERVICE_ONE_ID,
|
||||
_template,
|
||||
|
||||
@@ -2,8 +2,8 @@ import uuid
|
||||
|
||||
import pytest
|
||||
from flask import url_for
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests import user_json
|
||||
from tests.conftest import normalize_spaces
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import pytest
|
||||
from flask import Response, url_for
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
import app
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests import user_json
|
||||
from tests.conftest import SERVICE_ONE_ID
|
||||
|
||||
|
||||
@@ -12,10 +12,10 @@ from zipfile import BadZipFile
|
||||
|
||||
import pytest
|
||||
from flask import url_for
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from xlrd.biffh import XLRDError
|
||||
from xlrd.xldate import XLDateAmbiguous, XLDateError, XLDateNegative, XLDateTooLarge
|
||||
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from notifications_utils.recipients import RecipientCSV
|
||||
from notifications_utils.template import SMSPreviewTemplate
|
||||
from tests import (
|
||||
|
||||
@@ -2,9 +2,9 @@ import uuid
|
||||
|
||||
import pytest
|
||||
from flask import abort, url_for
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from app.models.user import User
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests import sample_uuid
|
||||
from tests.conftest import (
|
||||
SERVICE_ONE_ID,
|
||||
|
||||
@@ -5,8 +5,8 @@ import pytest
|
||||
from bs4 import BeautifulSoup
|
||||
from flask import url_for
|
||||
from freezegun import freeze_time
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests import template_json, validate_route_permission
|
||||
from tests.app.main.views.test_template_folders import (
|
||||
CHILD_FOLDER_ID,
|
||||
|
||||
@@ -6,9 +6,9 @@ import pytest
|
||||
from flask import session as flask_session
|
||||
from flask import url_for
|
||||
from itsdangerous import SignatureExpired
|
||||
from notifications_python_client.errors import HTTPError
|
||||
|
||||
from app.main.views.verify import activate_user
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests.conftest import create_user
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user