1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 17:15:35 +00:00
Files
vcrpy/tox.ini
Kevin McCarthy 3990b32892 New Feature: Ignore Some Requests
Add 2 new options, ignore_localhost and ignore_hosts, which can ignore
requests so they aren't recorded in a cassette.

Closes #74
2014-05-03 15:25:31 -10:00

171 lines
2.5 KiB
INI

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist =
py26,
py27,
py33,
py34,
pypy,
py26requests,
py27requests,
py34requests,
pypyrequests,
py26oldrequests,
py27oldrequests,
py33oldrequests,
py34oldrequests,
pypyoldrequests,
py26httplib2,
py27httplib2,
py33httplib2,
py34httplib2,
pypyhttplib2,
[testenv]
commands =
py.test {posargs}
deps =
mock
pytest
pytest-localserver
PyYAML
[testenv:py26oldrequests]
basepython = python2.6
deps =
mock
pytest
pytest-localserver
PyYAML
requests==1.2.3
[testenv:py27oldrequests]
basepython = python2.7
deps =
mock
pytest
pytest-localserver
PyYAML
requests==1.2.3
[testenv:py33oldrequests]
basepython = python3.3
deps =
mock
pytest
pytest-localserver
PyYAML
requests==1.2.3
[testenv:py34oldrequests]
basepython = python3.4
deps =
mock
pytest
pytest-localserver
PyYAML
requests==1.2.3
[testenv:pypyoldrequests]
basepython = pypy
deps =
mock
pytest
pytest-localserver
PyYAML
requests==1.2.3
[testenv:py26requests]
basepython = python2.6
deps =
mock
pytest
pytest-localserver
PyYAML
requests
[testenv:py27requests]
basepython = python2.7
deps =
mock
pytest
pytest-localserver
PyYAML
requests
[testenv:py33requests]
basepython = python3.4
deps =
mock
pytest
pytest-localserver
PyYAML
requests
[testenv:py34requests]
basepython = python3.4
deps =
mock
pytest
pytest-localserver
PyYAML
requests
[testenv:pypyrequests]
basepython = pypy
deps =
mock
pytest
pytest-localserver
PyYAML
requests
[testenv:py26httplib2]
basepython = python2.6
deps =
mock
pytest
pytest-localserver
PyYAML
httplib2
[testenv:py27httplib2]
basepython = python2.7
deps =
mock
pytest
pytest-localserver
PyYAML
httplib2
[testenv:py33httplib2]
basepython = python3.4
deps =
mock
pytest
pytest-localserver
PyYAML
httplib2
[testenv:py34httplib2]
basepython = python3.4
deps =
mock
pytest
pytest-localserver
PyYAML
httplib2
[testenv:pypyhttplib2]
basepython = pypy
deps =
mock
pytest
pytest-localserver
PyYAML
httplib2