mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
This allows you to do stuff like: tox -e py26requests,py27requests,pypyrequests -- tests/integration/test_requests.py
64 lines
1.0 KiB
INI
64 lines
1.0 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, pypy, py26requests, py27requests, pypyrequests, py26oldrequests, py27oldrequests, pypyoldrequests
|
|
|
|
[testenv]
|
|
commands =
|
|
py.test {posargs}
|
|
deps =
|
|
mock
|
|
pytest
|
|
PyYAML
|
|
|
|
[testenv:py26oldrequests]
|
|
basepython = python2.6
|
|
deps =
|
|
mock
|
|
pytest
|
|
PyYAML
|
|
requests==1.2.3
|
|
|
|
[testenv:py27oldrequests]
|
|
basepython = python2.7
|
|
deps =
|
|
mock
|
|
pytest
|
|
PyYAML
|
|
requests==1.2.3
|
|
|
|
[testenv:pypyoldrequests]
|
|
basepython = pypy
|
|
deps =
|
|
mock
|
|
pytest
|
|
PyYAML
|
|
requests==1.2.3
|
|
|
|
[testenv:py26requests]
|
|
basepython = python2.6
|
|
deps =
|
|
mock
|
|
pytest
|
|
PyYAML
|
|
requests
|
|
|
|
[testenv:py27requests]
|
|
basepython = python2.7
|
|
deps =
|
|
mock
|
|
pytest
|
|
PyYAML
|
|
requests
|
|
|
|
[testenv:pypyrequests]
|
|
basepython = pypy
|
|
deps =
|
|
mock
|
|
pytest
|
|
PyYAML
|
|
requests
|