forked from ckan/datapusher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cope with 'Content-Length' value being a string (try-except)
Side benefits of this PR: * makes tests compatible with python 2.7.0-2.7.8 (pin httpretty no higher than 0.9.4) * makes tests compatible with httpretty 0.9.3 (as ckan uses, so this is handy for a developer using the same venv) ('content-length': None)
- Loading branch information
David Read
committed
Oct 26, 2018
1 parent
1538e49
commit 4dda1fa
Showing
3 changed files
with
35 additions
and
7 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 @@ | ||
-r requirements.txt | ||
httpretty>=0.6 | ||
httpretty==0.9.4 | ||
nose==1.2.1 |
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