buildozer/tox.ini
Andre Miras 8e56f880ce Fixes test_p4a_recommended_android_ndk_found() mocking
Mocking `for line in open()` should be done via `StringIO`.
Also uses `pytest` in `tox.ini` so assert errors are more verbose.
2019-10-05 15:01:18 +02:00

18 lines
362 B
INI

[tox]
envlist = pep8,py27,py3
[testenv]
deps =
mock
pytest
commands = pytest tests/
[testenv:pep8]
deps = flake8
commands = flake8 buildozer/
[flake8]
ignore =
E121, E122, E123, E125, E126, E127, E128, E129, E131, E226, E231, E241,
E262, E265, E301, E302, E303, E305, E402, E501, E502, E722, E731, E741,
F401, F821, F841, W391, W504, W605