Skip to content

Commit

Permalink
Remove custom email backend
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoacierno committed Sep 29, 2024
1 parent 9a4de18 commit d8e3236
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 510 deletions.
16 changes: 0 additions & 16 deletions backend/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,6 @@ def change_azure_account_to_test_name(settings):
settings.AZURE_STORAGE_ACCOUNT_NAME = "pytest-fakestorageaccount"


class TestEmailBackend:
ALL_EMAIL_BACKEND_CALLS = []

def __init__(self, *args, **kwargs) -> None:
pass

def send_email(self, **kwargs):
TestEmailBackend.ALL_EMAIL_BACKEND_CALLS.append(kwargs)


@pytest.fixture
def sent_emails():
TestEmailBackend.ALL_EMAIL_BACKEND_CALLS = []
yield TestEmailBackend.ALL_EMAIL_BACKEND_CALLS


@pytest.fixture
def image_file():
def wrapper(filename: str = "test.jpg"):
Expand Down
52 changes: 0 additions & 52 deletions backend/notifications/aws.py

This file was deleted.

Empty file.
20 changes: 0 additions & 20 deletions backend/notifications/backends/base.py

This file was deleted.

34 changes: 0 additions & 34 deletions backend/notifications/backends/local.py

This file was deleted.

47 changes: 0 additions & 47 deletions backend/notifications/backends/ses.py

This file was deleted.

Empty file.
15 changes: 0 additions & 15 deletions backend/notifications/backends/tests/test_base.py

This file was deleted.

26 changes: 0 additions & 26 deletions backend/notifications/backends/tests/test_local.py

This file was deleted.

142 changes: 0 additions & 142 deletions backend/notifications/backends/tests/test_ses.py

This file was deleted.

Loading

0 comments on commit d8e3236

Please sign in to comment.