partial fix for some tests, 2 tests still fail
This commit is contained in:
@@ -25,12 +25,16 @@
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
# OTHER DEALINGS IN THE SOFTWARE.
|
||||
from __future__ import unicode_literals
|
||||
from mock import MagicMock
|
||||
from sure import expect
|
||||
from httpretty import HTTPretty, HTTPrettyError
|
||||
from httpretty.core import URIInfo, BaseClass, Entry, FakeSockFile
|
||||
from httpretty.http import STATUSES
|
||||
|
||||
try:
|
||||
from mock import MagicMock
|
||||
except ImportError:
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
|
||||
def test_httpretty_should_raise_proper_exception_on_inconsistent_length():
|
||||
"HTTPretty should raise proper exception on inconsistent Content-Length / "\
|
||||
|
||||
Reference in New Issue
Block a user