Revision 36d284c730565d99f6c3da6e07b8e5864ed2d216 authored by Antoine Lambert on 01 September 2020, 09:55:24 UTC, committed by Antoine Lambert on 02 September 2020, 13:10:57 UTC
That field should only be returned by content_find method. Add tests to check expected behaviors according to methods.
1 parent e6fcfb9
tox.ini
[tox]
envlist=black,flake8,mypy,py3
[testenv]
extras =
testing
deps =
pytest-cov
dev: ipdb
passenv =
SWH_CASSANDRA_BIN
SWH_CASSANDRA_LOG
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...