python-escpos/tox.ini
Patrick Kanzler d78a6f1699
completely fix tests
The feature use_coverage of hypothesis caused the failing tests, because
the printer_file_test is sensitive to the coverage analysis of
hypothesis.

Fixed by disabling use_coverage for the crashing tests
2017-09-27 10:38:42 +02:00

31 lines
572 B
INI

[tox]
envlist = py27, py34, py35, docs, flake8
[testenv]
deps = nose
jaconv
coverage
scripttest
mock
pytest!=3.2.0
pytest-cov
pytest-mock
hypothesis
viivakoodi
commands = py.test --cov escpos
[testenv:docs]
basepython = python
changedir = doc
deps = sphinx>=1.5.1
setuptools_scm
viivakoodi
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8]
basepython = python
# TODO add flake8-future
# TODO add flake8-docstrings
deps = flake8
commands = flake8