Update httpretty to 0.6.5
(but no further due to https://github.com/gabrielfalcao/HTTPretty/issues/114)
This commit is contained in:
parent
ed5cc0ac11
commit
99d0a8066b
2 changed files with 6 additions and 8 deletions
|
@ -2,10 +2,6 @@ from __future__ import unicode_literals
|
||||||
import json
|
import json
|
||||||
import httpretty
|
import httpretty
|
||||||
|
|
||||||
# TEMP: Temporary hack until httpretty string checking is fixed
|
|
||||||
if httpretty.compat.PY3:
|
|
||||||
httpretty.core.basestring = (bytes, str)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import unittest2 as unittest # Python2.6
|
import unittest2 as unittest # Python2.6
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
10
tox.ini
10
tox.ini
|
@ -2,17 +2,19 @@
|
||||||
envlist = py26, py27, py33
|
envlist = py26, py27, py33
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands = python -m unittest discover --catch tests/unit
|
commands = python -m unittest discover tests/unit
|
||||||
deps =
|
deps =
|
||||||
mock >= 1.0.0
|
mock >= 1.0.0
|
||||||
httpretty >= 0.6.1
|
# Hold httpretty at 0.6.5 until https://github.com/gabrielfalcao/HTTPretty/issues/114 is resolved
|
||||||
|
httpretty == 0.6.5
|
||||||
ddt >= 0.3.0
|
ddt >= 0.3.0
|
||||||
|
|
||||||
[testenv:py26]
|
[testenv:py26]
|
||||||
commands = unit2 discover --catch tests/unit
|
commands = unit2 discover tests/unit
|
||||||
deps =
|
deps =
|
||||||
mock >= 1.0.0
|
mock >= 1.0.0
|
||||||
httpretty >= 0.6.1
|
# Hold httpretty at 0.6.5 until https://github.com/gabrielfalcao/HTTPretty/issues/114 is resolved
|
||||||
|
httpretty == 0.6.5
|
||||||
ddt >= 0.3.0
|
ddt >= 0.3.0
|
||||||
unittest2
|
unittest2
|
||||||
discover
|
discover
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue