diff --git a/tests/app/dao/notification_dao/test_notification_dao.py b/tests/app/dao/notification_dao/test_notification_dao.py index da51c5da8..c11d03268 100644 --- a/tests/app/dao/notification_dao/test_notification_dao.py +++ b/tests/app/dao/notification_dao/test_notification_dao.py @@ -58,8 +58,7 @@ from tests.app.conftest import ( from tests.app.db import ( create_api_key, create_job, - create_notification, - create_service_sms_sender + create_notification ) @@ -1990,4 +1989,3 @@ def test_dao_update_notifications_by_reference_returns_zero_when_no_notification "billable_units": 2} ) assert updated_count == 0 - diff --git a/tests/app/delivery/test_send_to_providers.py b/tests/app/delivery/test_send_to_providers.py index f2c12e5ed..69a00d306 100644 --- a/tests/app/delivery/test_send_to_providers.py +++ b/tests/app/delivery/test_send_to_providers.py @@ -30,7 +30,6 @@ from tests.app.db import ( create_notification, create_reply_to_email, create_service_sms_sender, - create_service_with_inbound_number, create_service_with_defined_sms_sender ) diff --git a/tests/app/inbound_sms/test_rest.py b/tests/app/inbound_sms/test_rest.py index 8299a84d0..8677e7398 100644 --- a/tests/app/inbound_sms/test_rest.py +++ b/tests/app/inbound_sms/test_rest.py @@ -3,10 +3,8 @@ from datetime import datetime import pytest from freezegun import freeze_time -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 + create_inbound_sms, create_service, create_service_with_inbound_number ) @@ -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', _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 diff --git a/tests/app/v2/notifications/test_post_notifications.py b/tests/app/v2/notifications/test_post_notifications.py index 3985eeefc..aa1bb70f6 100644 --- a/tests/app/v2/notifications/test_post_notifications.py +++ b/tests/app/v2/notifications/test_post_notifications.py @@ -16,7 +16,6 @@ from app.models import Notification from app.schema_validation import validate from app.v2.errors import RateLimitError from app.v2.notifications.notification_schemas import post_sms_response, post_email_response -from app.v2.notifications.post_notifications import persist_sender_to_notification_mapping from tests import create_authorization_header from tests.app.conftest import ( sample_template as create_sample_template,