mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05: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):
|
||||
allow_list.extend([user.name, user.mobile_number, user.email_address])
|
||||
# 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
|
||||
allow_list.extend(
|
||||
["simulated user (success)", "+14254147755", "simulatedtwo@simulated.gov"]
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import pytest
|
||||
from flask import current_app
|
||||
|
||||
from app.utils import merge_jsonlike
|
||||
|
||||
@@ -50,6 +51,7 @@ def test_merge_jsonlike_merges_jsonlike_objects_correctly(
|
||||
merge_jsonlike(source_object, destination_object)
|
||||
assert source_object == expected_result
|
||||
|
||||
|
||||
def test_commit_hash():
|
||||
# Assert that we have trimmed the default (unknown) commit hash to seven characters
|
||||
# The real commit hash is supplied at deploy time.
|
||||
|
||||
Reference in New Issue
Block a user