mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
16 lines
532 B
INI
16 lines
532 B
INI
[tox]
|
|
envlist = py27, py35, lint
|
|
|
|
[testenv]
|
|
deps = -rrequirements.txt
|
|
|
|
[testenv:py27]
|
|
commands = py.test -n 8 --timeout 60 ./test
|
|
|
|
[testenv:py35]
|
|
commands = py.test -n 8 --timeout 60 test/netlib test/mitmproxy/script test/pathod/test_utils.py test/pathod/test_log.py test/pathod/test_language_generators.py test/pathod/test_language_writer.py test/pathod/test_language_base.py test/pathod/test_language_http.py test_language_websocket.py
|
|
|
|
[testenv:lint]
|
|
deps = flake8
|
|
commands = flake8 --count mitmproxy netlib pathod examples test
|