mirror of
https://github.com/httpie/cli.git
synced 2024-11-30 08:46:48 +02:00
24 lines
496 B
INI
24 lines
496 B
INI
# Tox (http://tox.testrun.org/) is a tool for running tests
|
|
# in multiple virtualenvs. See ./CONTRIBUTING.rst
|
|
|
|
|
|
[tox]
|
|
# pypy3 currently fails because of a Flask issue
|
|
envlist = py37
|
|
|
|
|
|
[testenv]
|
|
deps =
|
|
mock
|
|
pytest
|
|
pytest-httpbin>=0.0.6
|
|
|
|
|
|
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}
|