Update httpretty to 0.6.5
(but no further due to https://github.com/gabrielfalcao/HTTPretty/issues/114)
This commit is contained in:
parent
09203ff2b8
commit
be7463518b
3 changed files with 8 additions and 13 deletions
|
@ -4,10 +4,6 @@ import httpretty
|
|||
from httpretty import GET, POST
|
||||
from ddt import ddt, data
|
||||
|
||||
# TEMP: Temporary hack until httpretty string checking is fixed
|
||||
if httpretty.compat.PY3:
|
||||
httpretty.core.basestring = (bytes, str)
|
||||
|
||||
try:
|
||||
import unittest2 as unittest # Python2.6
|
||||
except ImportError:
|
||||
|
|
|
@ -3,10 +3,6 @@ import json
|
|||
import httpretty
|
||||
from httpretty import GET
|
||||
|
||||
# TEMP: Temporary hack until httpretty string checking is fixed
|
||||
if httpretty.compat.PY3:
|
||||
httpretty.core.basestring = (bytes, str)
|
||||
|
||||
try:
|
||||
import unittest2 as unittest # Python2.6
|
||||
except ImportError:
|
||||
|
|
13
tox.ini
13
tox.ini
|
@ -2,17 +2,19 @@
|
|||
envlist = py26, py27, py33, coverage
|
||||
|
||||
[testenv]
|
||||
commands = python -m unittest discover --catch tests/unit
|
||||
commands = python -m unittest discover tests/unit
|
||||
deps =
|
||||
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
|
||||
|
||||
[testenv:py26]
|
||||
commands = unit2 discover --catch tests/unit
|
||||
commands = unit2 discover tests/unit
|
||||
deps =
|
||||
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
|
||||
unittest2
|
||||
discover
|
||||
|
@ -21,6 +23,7 @@ deps =
|
|||
commands = coverage run --source trovebox setup.py test
|
||||
deps =
|
||||
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
|
||||
coverage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue