1
0
mirror of https://github.com/httpie/cli.git synced 2024-12-12 10:03:33 +02:00
httpie-cli/tox.ini

31 lines
648 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]
envlist = py26, py27, py35, pypy, codestyle
2014-04-24 22:36:03 +03:00
[testenv]
2014-04-26 17:50:31 +03:00
deps =
mock
2014-04-26 17:50:31 +03:00
pytest
pytest-httpbin>=0.0.6
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:codestyle]
deps = pycodestyle
commands =
pycodestyle \
--ignore=E241,E501
2016-07-26 22:59:34 +02:00
# 241 - multiple spaces after ‘,’
# 501 - line too long