mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
fix commit hash
This commit is contained in:
@@ -524,7 +524,9 @@ def _check_messages(service_id, template_id, upload_id, preview_row):
|
|||||||
for user in Users(service_id):
|
for user in Users(service_id):
|
||||||
allow_list.extend([user.name, user.mobile_number, user.email_address])
|
allow_list.extend([user.name, user.mobile_number, user.email_address])
|
||||||
# Failed sms number
|
# Failed sms number
|
||||||
allow_list.extend(["simulated user (fail)", "+14254147167", "simulated@simulated.gov"])
|
allow_list.extend(
|
||||||
|
["simulated user (fail)", "+14254147167", "simulated@simulated.gov"]
|
||||||
|
)
|
||||||
# Success sms number
|
# Success sms number
|
||||||
allow_list.extend(
|
allow_list.extend(
|
||||||
["simulated user (success)", "+14254147755", "simulatedtwo@simulated.gov"]
|
["simulated user (success)", "+14254147755", "simulatedtwo@simulated.gov"]
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import pytest
|
import pytest
|
||||||
|
from flask import current_app
|
||||||
|
|
||||||
from app.utils import merge_jsonlike
|
from app.utils import merge_jsonlike
|
||||||
|
|
||||||
@@ -50,6 +51,7 @@ def test_merge_jsonlike_merges_jsonlike_objects_correctly(
|
|||||||
merge_jsonlike(source_object, destination_object)
|
merge_jsonlike(source_object, destination_object)
|
||||||
assert source_object == expected_result
|
assert source_object == expected_result
|
||||||
|
|
||||||
|
|
||||||
def test_commit_hash():
|
def test_commit_hash():
|
||||||
# Assert that we have trimmed the default (unknown) commit hash to seven characters
|
# Assert that we have trimmed the default (unknown) commit hash to seven characters
|
||||||
# The real commit hash is supplied at deploy time.
|
# The real commit hash is supplied at deploy time.
|
||||||
|
|||||||
Reference in New Issue
Block a user