00f6964a90
- "{}".format('foo') does not work on python2.6, as the index needs to be explicitly specified. - assertIn(x, y) was only introduced in 2.7, reverting to assertTrue(x in y) Updated test environments definitions and docs accordingly.
10 lines
217 B
INI
10 lines
217 B
INI
[tox]
|
|
envlist = py26, py27, py33, py34, py35
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
pytest-cov
|
|
commands =
|
|
pip install -r requirements.txt --use-wheel
|
|
py.test --junitxml=junit-{envname}.xml --cov-report xml tests.py
|