mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 02:41:14 -05:00
Run auto-correct on app/ and tests/
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import pytest
|
||||
|
||||
from flask import json
|
||||
|
||||
from app.models import (TEMPLATE_TYPES, EMAIL_TYPE, SMS_TYPE, LETTER_TYPE,)
|
||||
from app.models import EMAIL_TYPE, LETTER_TYPE, SMS_TYPE, TEMPLATE_TYPES
|
||||
from app.utils import DATETIME_FORMAT
|
||||
from tests import create_authorization_header
|
||||
from tests.app.db import create_template, create_letter_contact
|
||||
from tests.app.db import create_letter_contact, create_template
|
||||
|
||||
valid_version_params = [None, 1]
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import pytest
|
||||
|
||||
from flask import json
|
||||
|
||||
from app.models import EMAIL_TYPE, LETTER_TYPE, TEMPLATE_TYPES
|
||||
|
||||
@@ -2,17 +2,16 @@ import uuid
|
||||
|
||||
import pytest
|
||||
from flask import json
|
||||
|
||||
from app.models import EMAIL_TYPE, SMS_TYPE, TEMPLATE_TYPES
|
||||
from app.v2.template.template_schemas import (
|
||||
get_template_by_id_response,
|
||||
get_template_by_id_request,
|
||||
post_template_preview_request,
|
||||
post_template_preview_response
|
||||
)
|
||||
from app.schema_validation import validate
|
||||
from jsonschema.exceptions import ValidationError
|
||||
|
||||
from app.models import EMAIL_TYPE, SMS_TYPE, TEMPLATE_TYPES
|
||||
from app.schema_validation import validate
|
||||
from app.v2.template.template_schemas import (
|
||||
get_template_by_id_request,
|
||||
get_template_by_id_response,
|
||||
post_template_preview_request,
|
||||
post_template_preview_response,
|
||||
)
|
||||
|
||||
valid_json_get_response = {
|
||||
'id': str(uuid.uuid4()),
|
||||
|
||||
Reference in New Issue
Block a user