Revision 25f584ffc4d27017f0ee94a95f9fbdf3e4c5a311 authored by Nicolas Dandrimont on 04 June 2020, 14:14:07 UTC, committed by Nicolas Dandrimont on 04 June 2020, 14:14:07 UTC
Using the in-memory journal writer sometimes makes the tests hang when (very) large objects are used. This works around the issue.
1 parent f9b2ca3
tox.ini
[tox]
envlist=black,flake8,mypy,py3
[testenv]
extras =
testing
deps =
pytest-cov
dev: ipdb
passenv =
LOG_CASSANDRA
commands =
pytest \
!slow: --hypothesis-profile=fast \
slow: --hypothesis-profile=slow \
--cov={envsitepackagesdir}/swh/storage \
{envsitepackagesdir}/swh/storage \
--doctest-modules \
--cov-branch {posargs}
[testenv:black]
skip_install = true
deps =
black
commands =
{envpython} -m black --check swh
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8
[testenv:mypy]
extras =
testing
deps =
mypy
commands =
mypy swh
Computing file changes ...