Skip to content

Fix/exception silencing email backend #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jwayodi
Copy link
Collaborator

@jwayodi jwayodi commented Jul 20, 2018

No description provided.

@jwayodi jwayodi requested a review from craigloftus July 20, 2018 12:03
@craigloftus craigloftus requested a review from solarissmoke July 23, 2018 09:15
"""
Mocks an error response from a Postmark API call via Postmarker.
"""
postmark_request.return_value.json.side_effect = ValueError

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we be mimicking a Postmarker exception being thrown, rather than a ValueError?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants