photo-python/tox.ini
2014-02-02 20:43:49 +00:00

29 lines
780 B
INI

[tox]
envlist = py26, py27, py33, pypy, coverage
[testenv]
commands = python -m unittest discover tests/unit
deps =
mock >= 1.0.0
# Hold httpretty at 0.6.5 until https://github.com/gabrielfalcao/HTTPretty/issues/114 is resolved
httpretty == 0.6.5
ddt >= 0.3.0
[testenv:py26]
commands = unit2 discover tests/unit
deps =
mock >= 1.0.0
# Hold httpretty at 0.6.5 until https://github.com/gabrielfalcao/HTTPretty/issues/114 is resolved
httpretty == 0.6.5
ddt >= 0.3.0
unittest2
discover
[testenv:coverage]
commands = coverage run --source trovebox setup.py test
deps =
mock >= 1.0.0
# Hold httpretty at 0.6.5 until https://github.com/gabrielfalcao/HTTPretty/issues/114 is resolved
httpretty == 0.6.5
ddt >= 0.3.0
coverage