-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use requests rather than urllib3 (#103)
* Replace urllib3 w/ requests. * Pass through cert verify, timeout opts. Put verify_cert back to True by default. * fixing tests. * fix tests * Fix older requests str problem * Fix more encodings * Post as formencoded with pre-JSON'd data. Test fixes. More tests * Fix tests w/ form-encoded bodies. * order * optimize nearitude * Use context mgr form of Responses. It's nicer.
- Loading branch information
1 parent
9636358
commit e8a9330
Showing
4 changed files
with
201 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
mock==1.3.0 | ||
pytest==4.6.11 | ||
typing; python_version >='3.4' and python_version <'3.5' # To work around CI fail. | ||
pytest~=4.6 | ||
responses~=0.13.3 | ||
typing; python_version>='3.4' and python_version<'3.5' # To work around CI fail. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.