mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
fix flake8
This commit is contained in:
@@ -2,7 +2,6 @@ from datetime import datetime, timedelta
|
||||
|
||||
import pytest
|
||||
from freezegun import freeze_time
|
||||
from sqlalchemy.sql import desc
|
||||
|
||||
from app import notification_provider_clients
|
||||
from app.dao.provider_details_dao import (
|
||||
@@ -15,7 +14,6 @@ from app.dao.provider_details_dao import (
|
||||
)
|
||||
from app.enums import NotificationType, TemplateType
|
||||
from app.models import ProviderDetails, ProviderDetailsHistory
|
||||
from app.utils import utc_now
|
||||
from tests.app.db import create_ft_billing, create_service, create_template
|
||||
from tests.conftest import set_config
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ from app.dao import notifications_dao
|
||||
from app.dao.api_key_dao import save_model_api_key
|
||||
from app.dao.services_dao import dao_update_service
|
||||
from app.dao.templates_dao import dao_get_all_templates_for_service, dao_update_template
|
||||
from app.enums import KeyType, NotificationType, TemplateProcessType, TemplateType
|
||||
from app.enums import KeyType, NotificationType, TemplateType
|
||||
from app.errors import InvalidRequest, RateLimitError
|
||||
from app.models import ApiKey, Notification, NotificationHistory, Template
|
||||
from app.service.send_notification import send_one_off_notification
|
||||
|
||||
@@ -3,14 +3,12 @@ from unittest.mock import Mock
|
||||
|
||||
import pytest
|
||||
|
||||
from app.config import QueueNames
|
||||
from app.dao.service_guest_list_dao import dao_add_and_commit_guest_list_contacts
|
||||
from app.enums import (
|
||||
KeyType,
|
||||
NotificationType,
|
||||
RecipientType,
|
||||
ServicePermissionType,
|
||||
TemplateProcessType,
|
||||
TemplateType,
|
||||
)
|
||||
from app.errors import BadRequestError
|
||||
|
||||
Reference in New Issue
Block a user