mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Run auto-correct on app/ and tests/
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import random
|
||||
import uuid
|
||||
from datetime import datetime, date, timedelta
|
||||
from datetime import date, datetime, timedelta
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -11,64 +11,69 @@ from app.dao.inbound_sms_dao import dao_create_inbound_sms
|
||||
from app.dao.invited_org_user_dao import save_invited_org_user
|
||||
from app.dao.invited_user_dao import save_invited_user
|
||||
from app.dao.jobs_dao import dao_create_job
|
||||
from app.dao.notifications_dao import (
|
||||
dao_create_notification,
|
||||
from app.dao.notifications_dao import dao_create_notification
|
||||
from app.dao.organisation_dao import (
|
||||
dao_add_service_to_organisation,
|
||||
dao_create_organisation,
|
||||
)
|
||||
from app.dao.organisation_dao import dao_create_organisation, dao_add_service_to_organisation
|
||||
from app.dao.permissions_dao import permission_dao
|
||||
from app.dao.service_callback_api_dao import save_service_callback_api
|
||||
from app.dao.service_data_retention_dao import insert_service_data_retention
|
||||
from app.dao.service_inbound_api_dao import save_service_inbound_api
|
||||
from app.dao.service_permissions_dao import dao_add_service_permission
|
||||
from app.dao.service_sms_sender_dao import update_existing_sms_sender_with_inbound_number, dao_update_service_sms_sender
|
||||
from app.dao.services_dao import dao_create_service, dao_add_user_to_service
|
||||
from app.dao.service_sms_sender_dao import (
|
||||
dao_update_service_sms_sender,
|
||||
update_existing_sms_sender_with_inbound_number,
|
||||
)
|
||||
from app.dao.services_dao import dao_add_user_to_service, dao_create_service
|
||||
from app.dao.templates_dao import dao_create_template, dao_update_template
|
||||
from app.dao.users_dao import save_model_user
|
||||
from app.models import (
|
||||
EMAIL_TYPE,
|
||||
KEY_TYPE_NORMAL,
|
||||
LETTER_TYPE,
|
||||
MOBILE_TYPE,
|
||||
SMS_TYPE,
|
||||
AnnualBilling,
|
||||
ApiKey,
|
||||
BroadcastEvent,
|
||||
BroadcastMessage,
|
||||
BroadcastProvider,
|
||||
BroadcastProviderMessage,
|
||||
BroadcastProviderMessageNumber,
|
||||
BroadcastStatusType,
|
||||
Complaint,
|
||||
DailySortedLetter,
|
||||
InboundSms,
|
||||
InboundNumber,
|
||||
Job,
|
||||
Notification,
|
||||
Domain,
|
||||
EmailBranding,
|
||||
FactBilling,
|
||||
FactNotificationStatus,
|
||||
FactProcessingTime,
|
||||
InboundNumber,
|
||||
InboundSms,
|
||||
InvitedOrganisationUser,
|
||||
InvitedUser,
|
||||
Job,
|
||||
LetterBranding,
|
||||
LetterRate,
|
||||
Notification,
|
||||
NotificationHistory,
|
||||
Organisation,
|
||||
Permission,
|
||||
Rate,
|
||||
ReturnedLetter,
|
||||
Service,
|
||||
ServiceEmailReplyTo,
|
||||
ServiceInboundApi,
|
||||
ServiceCallbackApi,
|
||||
ServiceContactList,
|
||||
ServiceEmailReplyTo,
|
||||
ServiceGuestList,
|
||||
ServiceInboundApi,
|
||||
ServiceLetterContact,
|
||||
ServicePermission,
|
||||
ServiceSmsSender,
|
||||
ServiceGuestList,
|
||||
Template,
|
||||
User,
|
||||
EMAIL_TYPE,
|
||||
MOBILE_TYPE,
|
||||
SMS_TYPE,
|
||||
LETTER_TYPE,
|
||||
KEY_TYPE_NORMAL,
|
||||
AnnualBilling,
|
||||
InvitedOrganisationUser,
|
||||
FactBilling,
|
||||
FactNotificationStatus,
|
||||
Complaint,
|
||||
InvitedUser,
|
||||
TemplateFolder,
|
||||
LetterBranding,
|
||||
Domain,
|
||||
NotificationHistory,
|
||||
ReturnedLetter,
|
||||
ServiceContactList,
|
||||
BroadcastMessage,
|
||||
BroadcastStatusType,
|
||||
BroadcastEvent,
|
||||
BroadcastProvider,
|
||||
BroadcastProviderMessage,
|
||||
BroadcastProviderMessageNumber, FactProcessingTime
|
||||
User,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user