Skip to content

Commit

Permalink
fixup! ✨(mailbox) send new mailbox confirmation email
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeammet committed Sep 26, 2024
1 parent 0f7860f commit 7e37e76
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
4 changes: 0 additions & 4 deletions src/backend/mailbox_manager/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
Declare and configure the models for the People additional application : mailbox_manager
"""

from logging import getLogger

from django.conf import settings
from django.core import exceptions, validators
from django.db import models
Expand All @@ -14,8 +12,6 @@

from mailbox_manager.enums import MailDomainRoleChoices, MailDomainStatusChoices

logger = getLogger(__name__)


class MailDomain(BaseModel):
"""Domain names from which we will create email addresses (mailboxes)."""
Expand Down
17 changes: 0 additions & 17 deletions src/backend/mailbox_manager/tests/test_models_maildomain.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,6 @@ def test_models_mail_domain__slug_inferred_from_name():
assert domain.slug == slugify(name)


# # SECRET FIELD

# def test_models_mail_domain__secret_can_be_empty():
# """Secret field can be empty on mail domain creation."""
# domain = factories.MailDomainFactory(secret="")
# assert domain.secret == ""


# def test_models_mail_domain__secret_can_be_null():
# """Secret field can be null on mail domain creation."""
# domain = factories.MailDomainFactory(secret=None)
# assert domain.secret is None


# get_abilities


def test_models_maildomains_get_abilities_anonymous():
"""Check abilities returned for an anonymous user."""
maildomain = factories.MailDomainFactory()
Expand Down

0 comments on commit 7e37e76

Please sign in to comment.