-
Notifications
You must be signed in to change notification settings - Fork 259
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
Remove fakeserver #682
Remove fakeserver #682
Conversation
@@ -839,6 +839,7 @@ def do_access_token_request( | |||
http_args = ht_args | |||
else: | |||
http_args.update(ht_args) | |||
http_args.pop("password", None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why pop password here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason it was passing through and ended up as an invalid kwarg to requests library...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok. It is wrong in any case, so the fix should do no harm, but probably the issue is burried somewhere in request_info().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, my guess as well. But didn't want to spend a huge amount of time on that. Will make a separate issue for that...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
The password hack is a little weird and should not happen, but thats unrelated to this change.
@@ -839,6 +839,7 @@ def do_access_token_request( | |||
http_args = ht_args | |||
else: | |||
http_args.update(ht_args) | |||
http_args.pop("password", None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok. It is wrong in any case, so the fix should do no harm, but probably the issue is burried somewhere in request_info().
957bb4b
to
db09008
Compare
CHANGELOG.md
.Replace it by testing with responses.
It tends to break on changes to provider and is just basically a separate implementation.