1
0
mirror of https://github.com/httpie/cli.git synced 2025-01-10 00:28:12 +02:00
httpie-cli/tox.ini

29 lines
621 B
INI
Raw Normal View History

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. See ./CONTRIBUTING.rst
2014-04-24 22:36:03 +03:00
[tox]
# pypy3 currently fails because of a Flask issue
envlist = py27, py37, pypy
2014-04-24 22:36:03 +03:00
[testenv]
2019-08-29 08:39:23 +02:00
# pyOpenSSL only needed for Python 2.7
2014-04-26 17:50:31 +03:00
deps =
mock
2014-04-26 17:50:31 +03:00
pytest
pytest-httpbin>=0.0.6
2019-08-29 08:38:34 +02:00
pyOpenSSL
2014-04-24 22:36:03 +03:00
commands =
# NOTE: the order of the directories in posargs seems to matter.
# When changed, then many ImportMismatchError exceptions occurrs.
py.test \
--verbose \
--doctest-modules \
{posargs:./httpie ./tests}
[testenv:py27-osx-builtin]
basepython = /usr/bin/python2.7