Black formatting

This commit is contained in:
zandercymatics 2023-12-21 12:27:18 -07:00
parent ad9e64f063
commit d3ceb64956
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
5 changed files with 7 additions and 6 deletions

View file

@ -624,7 +624,7 @@ class TestDomainApplication(TestCase):
mock_client = MockSESClient mock_client = MockSESClient
with boto3_mocking.clients.handler_for("sesv2", mock_client): with boto3_mocking.clients.handler_for("sesv2", mock_client):
# Use patch to temporarily replace is_active with the custom implementation # Use patch to temporarily replace is_active with the custom implementation
with patch.object(Domain, "is_active", custom_is_active): with patch.object(Domain, "is_active", custom_is_active):
# Now, when you call is_active on Domain, it will return True # Now, when you call is_active on Domain, it will return True
with self.assertRaises(TransitionNotAllowed): with self.assertRaises(TransitionNotAllowed):

View file

@ -8,6 +8,7 @@ from django.template.loader import get_template
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
class EmailSendingError(RuntimeError): class EmailSendingError(RuntimeError):
"""Local error for handling all failures when sending email.""" """Local error for handling all failures when sending email."""