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

Fix use_cassette when used as decorator does not return the wrapped function's return value #217

Merged
merged 1 commit into from
Oct 2, 2015

Conversation

bcen
Copy link
Contributor

@bcen bcen commented Oct 2, 2015

CassetteContextDecorator._handle_function should return the value back to caller.

Let me know if the test is good enough or not, thanks.

@kevin1024
Copy link
Owner

Cool, 👍 from me. Paging @IvanMalison - you know more about the implementation around this.

@colonelpanic8
Copy link
Collaborator

Ahh my bad. Can't believe I missed this when I wrote it. Thanks!

@colonelpanic8 colonelpanic8 reopened this Oct 2, 2015
colonelpanic8 added a commit that referenced this pull request Oct 2, 2015
Fix use_cassette when used as decorator does not return the wrapped function's return value
@colonelpanic8 colonelpanic8 merged commit 1324fea into kevin1024:master Oct 2, 2015
@bcen bcen deleted the fix-decoration-no-return branch October 2, 2015 12:09
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