mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-18 21:48:49 -04:00
Minor changes accounting for black and isort formatting
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import pytest
|
||||
from flask import current_app
|
||||
from freezegun import freeze_time
|
||||
from notifications_utils import SMS_CHAR_COUNT_LIMIT
|
||||
|
||||
import app
|
||||
from app.dao import templates_dao
|
||||
@@ -37,6 +36,7 @@ from app.serialised_models import (
|
||||
from app.service.utils import service_allowed_to_send_to
|
||||
from app.utils import get_template_instance
|
||||
from app.v2.errors import BadRequestError, RateLimitError, TotalRequestsError
|
||||
from notifications_utils import SMS_CHAR_COUNT_LIMIT
|
||||
from tests.app.db import (
|
||||
create_api_key,
|
||||
create_reply_to_email,
|
||||
|
||||
@@ -5,7 +5,6 @@ import pytest
|
||||
from flask import current_app, json
|
||||
from freezegun import freeze_time
|
||||
from notifications_python_client.authentication import create_jwt_token
|
||||
from notifications_utils import SMS_CHAR_COUNT_LIMIT
|
||||
|
||||
import app
|
||||
from app.dao import notifications_dao
|
||||
@@ -17,6 +16,7 @@ from app.errors import InvalidRequest
|
||||
from app.models import ApiKey, Notification, NotificationHistory, Template
|
||||
from app.service.send_notification import send_one_off_notification
|
||||
from app.v2.errors import RateLimitError
|
||||
from notifications_utils import SMS_CHAR_COUNT_LIMIT
|
||||
from tests import create_service_authorization_header
|
||||
from tests.app.db import (
|
||||
create_api_key,
|
||||
|
||||
@@ -2,7 +2,6 @@ import uuid
|
||||
from unittest.mock import Mock
|
||||
|
||||
import pytest
|
||||
from notifications_utils import SMS_CHAR_COUNT_LIMIT
|
||||
from notifications_utils.recipients import InvalidPhoneError
|
||||
|
||||
from app.config import QueueNames
|
||||
@@ -18,6 +17,7 @@ from app.enums import (
|
||||
from app.models import Notification, ServiceGuestList
|
||||
from app.service.send_notification import send_one_off_notification
|
||||
from app.v2.errors import BadRequestError
|
||||
from notifications_utils import SMS_CHAR_COUNT_LIMIT
|
||||
from tests.app.db import (
|
||||
create_reply_to_email,
|
||||
create_service,
|
||||
|
||||
@@ -6,11 +6,11 @@ from datetime import datetime, timedelta
|
||||
|
||||
import pytest
|
||||
from freezegun import freeze_time
|
||||
from notifications_utils import SMS_CHAR_COUNT_LIMIT
|
||||
|
||||
from app.dao.templates_dao import dao_get_template_by_id, dao_redact_template
|
||||
from app.enums import ServicePermissionType, TemplateProcessType, TemplateType
|
||||
from app.models import Template, TemplateHistory
|
||||
from notifications_utils import SMS_CHAR_COUNT_LIMIT
|
||||
from tests import create_admin_authorization_header
|
||||
from tests.app.db import create_service, create_template, create_template_folder
|
||||
|
||||
|
||||
Reference in New Issue
Block a user