mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
move BroadcastProvider from models.py to config.py
It's not something that is tied to a database table, and was causing circular import issues
This commit is contained in:
@@ -2,7 +2,7 @@ import json
|
||||
|
||||
import boto3
|
||||
|
||||
from app.models import BroadcastProviders
|
||||
from app.config import BroadcastProvider
|
||||
|
||||
# The variable names in this file have specific meaning in a CAP message
|
||||
#
|
||||
@@ -70,7 +70,7 @@ class CBCProxyNoopClient:
|
||||
|
||||
class CBCProxyClient:
|
||||
provider_function_name_map = {
|
||||
BroadcastProviders.EE: 'bt-ee-1-proxy',
|
||||
BroadcastProvider.EE: 'bt-ee-1-proxy',
|
||||
}
|
||||
|
||||
def init_app(self, app):
|
||||
@@ -111,7 +111,6 @@ class CBCProxyClient:
|
||||
def send_link_test(
|
||||
self,
|
||||
identifier,
|
||||
provider,
|
||||
):
|
||||
"""
|
||||
link test - open up a connection to a specific provider, and send them an xml payload with a <msgType> of
|
||||
|
||||
Reference in New Issue
Block a user