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

boilerplate tests and patch() #257

Open
derbexuk opened this issue Sep 19, 2013 · 0 comments
Open

boilerplate tests and patch() #257

derbexuk opened this issue Sep 19, 2013 · 0 comments

Comments

@derbexuk
Copy link

First off thanks for the app, it's been a great help in getting my project started. I am now running the boilerplate tests again, and am having trouble with the patch() call used in several of the tests, the error below comes from test_password_reset :

'''
with patch('boilerplate.lib.captcha.submit', return_value=captcha.RecaptchaResponse(is_valid=False)):
TypeError: patch() got an unexpected keyword argument 'return_value'
'''
looking at the skimpy documentation for webtest patch doesn't take an argument called return_value : https://webtest.readthedocs.org/en/latest/api.html

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

No branches or pull requests

1 participant