Skip to content
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

test_webhook_duplicate_event: add assertion for data #461

Merged
merged 1 commit into from
Oct 30, 2017

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Oct 27, 2017

No description provided.

@blueyed blueyed force-pushed the test_webhook_duplicate_event-data branch from fa2d895 to 6dfa788 Compare October 27, 2017 14:54
@codecov
Copy link

codecov bot commented Oct 27, 2017

Codecov Report

Merging #461 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #461      +/-   ##
=========================================
- Coverage    99.4%   99.4%   -0.01%     
=========================================
  Files          34      34              
  Lines        1682    1680       -2     
  Branches      144     144              
=========================================
- Hits         1672    1670       -2     
  Misses          5       5              
  Partials        5       5
Flag Coverage Δ
#py27dj110 99.4% <100%> (-0.01%) ⬇️
#py27dj111 99.4% <100%> (-0.01%) ⬇️
#py27dj18 99.4% <100%> (-0.01%) ⬇️
#py34dj110 99.4% <100%> (-0.01%) ⬇️
#py34dj111 99.4% <100%> (-0.01%) ⬇️
#py34dj18 99.4% <100%> (-0.01%) ⬇️
#py34dj20 99.4% <100%> (-0.01%) ⬇️
#py35dj110 99.4% <100%> (-0.01%) ⬇️
#py35dj111 99.4% <100%> (-0.01%) ⬇️
#py35dj18 99.4% <100%> (-0.01%) ⬇️
#py35dj20 99.4% <100%> (-0.01%) ⬇️
#py36dj111 99.4% <100%> (-0.01%) ⬇️
#py36dj20 99.4% <100%> (-0.01%) ⬇️
#py36dj20psql 99.4% <100%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pinax/stripe/views.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b67b87...ba8d8e6. Read the comment docs.

@blueyed blueyed closed this Oct 27, 2017
@blueyed blueyed reopened this Oct 27, 2017
log_exception / EventProcessingException expects a string for `data`.
@blueyed blueyed force-pushed the test_webhook_duplicate_event-data branch from 6dfa788 to ba8d8e6 Compare October 27, 2017 17:16
@@ -195,15 +195,12 @@ class Webhook(View):
def dispatch(self, *args, **kwargs):
return super(Webhook, self).dispatch(*args, **kwargs)

def extract_json(self):
Copy link
Member

Choose a reason for hiding this comment

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

I doubt anyone is subclassing Webhook and overriding extract_json but if they are this is a BIC. I think we should just document this in the release notes (I'll take care of it).

@paltman paltman merged commit 8dacc4e into pinax:master Oct 30, 2017
@blueyed blueyed deleted the test_webhook_duplicate_event-data branch October 30, 2017 14:57
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