2013-01-23 21:57:44 +00:00
|
|
|
[tox]
|
2014-09-08 18:29:12 +00:00
|
|
|
envlist=py26,py27,py33,py34,pypy,flake8
|
2013-01-23 21:57:44 +00:00
|
|
|
|
|
|
|
[testenv]
|
2014-07-26 06:38:17 +00:00
|
|
|
commands=py.test --cov rq {posargs}
|
2014-05-06 13:51:23 +00:00
|
|
|
deps=
|
|
|
|
pytest
|
2014-07-24 21:30:36 +00:00
|
|
|
pytest-cov
|
2014-05-06 13:51:23 +00:00
|
|
|
mock
|
2013-01-23 21:57:44 +00:00
|
|
|
|
|
|
|
[testenv:py26]
|
|
|
|
deps=
|
|
|
|
pytest
|
2014-07-24 21:30:36 +00:00
|
|
|
pytest-cov
|
2013-01-23 21:57:44 +00:00
|
|
|
unittest2
|
2014-05-06 13:51:23 +00:00
|
|
|
mock
|
2014-09-08 18:29:12 +00:00
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
basepython = python2.7
|
|
|
|
deps =
|
|
|
|
flake8
|
|
|
|
commands =
|
|
|
|
flake8 rq tests --max-line-length=120
|