mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Move DATETIME_FORMAT from app to app.utils
To avoid cyclical import issues
This commit is contained in:
@@ -2,7 +2,7 @@ import datetime
|
||||
import pytest
|
||||
from flask import json, url_for
|
||||
|
||||
from app import DATETIME_FORMAT
|
||||
from app.utils import DATETIME_FORMAT
|
||||
from tests import create_authorization_header
|
||||
from tests.app.db import (
|
||||
create_notification,
|
||||
|
||||
@@ -2,8 +2,8 @@ import pytest
|
||||
|
||||
from flask import json
|
||||
|
||||
from app import DATETIME_FORMAT
|
||||
from app.models import (TEMPLATE_TYPES, EMAIL_TYPE, SMS_TYPE, LETTER_TYPE,)
|
||||
from app.utils import DATETIME_FORMAT
|
||||
from tests import create_authorization_header
|
||||
from tests.app.db import create_template, create_letter_contact
|
||||
|
||||
|
||||
Reference in New Issue
Block a user