mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-12 09:58:04 -04:00
Remove \t
This commit is contained in:
@@ -329,6 +329,7 @@ class Development(Config):
|
||||
|
||||
|
||||
class Test(Config):
|
||||
SQLALCHEMY_ECHO = True
|
||||
NOTIFY_EMAIL_DOMAIN = 'test.notify.com'
|
||||
FROM_NUMBER = 'testing'
|
||||
NOTIFY_ENVIRONMENT = 'test'
|
||||
|
||||
@@ -827,7 +827,7 @@ def test_send_email_to_provider_should_format_reply_to_email_address(
|
||||
reply_to = create_reply_to_email_for_notification(
|
||||
db_notification.id,
|
||||
sample_service,
|
||||
"test@test.com\t"
|
||||
"test@test.com"
|
||||
)
|
||||
|
||||
send_to_providers.send_email_to_provider(
|
||||
|
||||
@@ -3,7 +3,11 @@ from datetime import datetime
|
||||
import pytest
|
||||
from freezegun import freeze_time
|
||||
|
||||
from tests.app.db import create_inbound_sms, create_service, create_service_with_inbound_number
|
||||
from app.models import ServiceInboundApi, Service
|
||||
from tests.app.db import (
|
||||
create_inbound_sms, create_service, create_service_with_inbound_number,
|
||||
create_service_inbound_api
|
||||
)
|
||||
|
||||
|
||||
def test_post_to_get_inbound_sms_with_no_params(admin_request, sample_service):
|
||||
@@ -287,3 +291,15 @@ def test_get_inbound_sms_by_id_with_invalid_service_id_returns_404(admin_request
|
||||
inbound_sms_id='2cfbd6a1-1575-4664-8969-f27be0ea40d9',
|
||||
_expected_status=404
|
||||
)
|
||||
|
||||
|
||||
def test_inbound_api_blah(notify_db_session):
|
||||
service = create_service()
|
||||
api = create_service_inbound_api(service=service)
|
||||
|
||||
print("***************")
|
||||
from_db = Service.query.all()[0]
|
||||
print("--------------------")
|
||||
from_db_service = from_db.inbound_api
|
||||
print("***************")
|
||||
assert 1 == 1
|
||||
|
||||
Reference in New Issue
Block a user