2016-11-01 20:01:57 +01:00
|
|
|
[tox]
|
2021-08-31 11:33:03 +02:00
|
|
|
minversion = 3.5.3
|
2022-05-26 23:59:37 +02:00
|
|
|
envlist = py{37,38,39,310}, norewrite
|
2016-11-01 20:01:57 +01:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
passenv = USER USERNAME
|
|
|
|
deps =
|
|
|
|
coverage
|
2021-08-31 11:33:03 +02:00
|
|
|
pytest-asyncio
|
2016-11-01 20:01:57 +01:00
|
|
|
commands =
|
2021-08-31 11:33:03 +02:00
|
|
|
coverage run --append --source={envsitepackagesdir}/pytest_mock -m pytest tests
|
2016-11-01 20:01:57 +01:00
|
|
|
|
2018-03-05 23:30:36 +01:00
|
|
|
[testenv:norewrite]
|
|
|
|
commands =
|
2021-08-31 11:33:03 +02:00
|
|
|
pytest tests --assert=plain
|
2018-03-05 23:30:36 +01:00
|
|
|
|
2019-08-24 18:33:04 +02:00
|
|
|
[pytest]
|
2021-08-31 11:33:03 +02:00
|
|
|
addopts = -r a
|
2022-05-26 23:59:37 +02:00
|
|
|
asyncio_mode = auto
|
2019-08-24 18:33:04 +02:00
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max-line-length = 88
|