mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
changed name of test fixture
This commit is contained in:
@@ -53,7 +53,7 @@ def restrict_ip_sms():
|
||||
ip = ip_list[len(ip_list) - 3]
|
||||
current_app.logger.info("Inbound sms ip route list {}".format(ip_route))
|
||||
|
||||
if ip in current_app.config.get('ALLOW_IP_INBOUND_SMS'):
|
||||
if ip in current_app.config.get('SMS_INBOUND_WHITELIST'):
|
||||
current_app.logger.info("Inbound sms ip addresses {} passed ".format(ip))
|
||||
return
|
||||
else:
|
||||
|
||||
@@ -262,7 +262,7 @@ class Config(object):
|
||||
|
||||
FREE_SMS_TIER_FRAGMENT_COUNT = 250000
|
||||
|
||||
ALLOW_IP_INBOUND_SMS = os.environ.get('SMS_INBOUND_WHITELIST', [])
|
||||
SMS_INBOUND_WHITELIST = os.environ.get('SMS_INBOUND_WHITELIST', [])
|
||||
|
||||
|
||||
######################
|
||||
|
||||
Reference in New Issue
Block a user