From 70430f10ea620379188af0c950ec25d168a868e2 Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Fri, 8 Apr 2022 17:35:47 +0100 Subject: [PATCH] Co-locate tests for sending a notification I found the send letter tests hard to find as the name of the file didn't match the name of the one containing the code under test. --- tests/app/notifications/rest/__init__.py | 0 .../rest => service/send_notification}/test_send_notification.py | 0 .../{ => send_notification}/test_send_one_off_notification.py | 0 .../{ => send_notification}/test_send_pdf_letter_notification.py | 0 4 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 tests/app/notifications/rest/__init__.py rename tests/app/{notifications/rest => service/send_notification}/test_send_notification.py (100%) rename tests/app/service/{ => send_notification}/test_send_one_off_notification.py (100%) rename tests/app/service/{ => send_notification}/test_send_pdf_letter_notification.py (100%) diff --git a/tests/app/notifications/rest/__init__.py b/tests/app/notifications/rest/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/app/notifications/rest/test_send_notification.py b/tests/app/service/send_notification/test_send_notification.py similarity index 100% rename from tests/app/notifications/rest/test_send_notification.py rename to tests/app/service/send_notification/test_send_notification.py diff --git a/tests/app/service/test_send_one_off_notification.py b/tests/app/service/send_notification/test_send_one_off_notification.py similarity index 100% rename from tests/app/service/test_send_one_off_notification.py rename to tests/app/service/send_notification/test_send_one_off_notification.py diff --git a/tests/app/service/test_send_pdf_letter_notification.py b/tests/app/service/send_notification/test_send_pdf_letter_notification.py similarity index 100% rename from tests/app/service/test_send_pdf_letter_notification.py rename to tests/app/service/send_notification/test_send_pdf_letter_notification.py