Skip to content

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.

3 participants