mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
@@ -3,10 +3,8 @@ from datetime import datetime
|
|||||||
import pytest
|
import pytest
|
||||||
from freezegun import freeze_time
|
from freezegun import freeze_time
|
||||||
|
|
||||||
from app.models import ServiceInboundApi, Service
|
|
||||||
from tests.app.db import (
|
from tests.app.db import (
|
||||||
create_inbound_sms, create_service, create_service_with_inbound_number,
|
create_inbound_sms, create_service, create_service_with_inbound_number,
|
||||||
create_service_inbound_api
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -291,15 +289,3 @@ def test_get_inbound_sms_by_id_with_invalid_service_id_returns_404(admin_request
|
|||||||
inbound_sms_id='2cfbd6a1-1575-4664-8969-f27be0ea40d9',
|
inbound_sms_id='2cfbd6a1-1575-4664-8969-f27be0ea40d9',
|
||||||
_expected_status=404
|
_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