-
Notifications
You must be signed in to change notification settings - Fork 61
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 uplink.Url by checking url type (fixes #164) #165
Conversation
Codecov Report
@@ Coverage Diff @@
## master #165 +/- ##
==========================================
- Coverage 100% 99.81% -0.19%
==========================================
Files 41 41
Lines 2170 2173 +3
Branches 173 173
==========================================
- Hits 2170 2169 -1
- Misses 0 3 +3
- Partials 0 1 +1
Continue to review full report at Codecov.
|
@cognifloyd Thanks for addressing this! Changes look good. Seems that there are some coverage impacts, though. We'll probably need an integration test for this one. I think another way to solve this would be to address this in Lines 680 to 682 in 0d29483
We could update this to: def _modify_request(cls, request_builder, value):
"""Updates request url."""
request_builder.url = utils.URIBuilder(value) This should result in no coverage changes and unblock your changes from being merged in. However, we should keep a follow-up task to add an integration test for this one before release. |
It looks like the tests are wrong. They're testing for a string, but now it's a URIBuilder instance. |
Fixes #164 .
Changes proposed in this pull request:
build()
isn't called on an already resolved string URL.Attention: @prkumar