Revision 06fe23b31c5599b7554ad28dfd6763af5b8f1ff1 authored by Valentin Lorentz on 27 June 2019, 16:41:48 UTC, committed by Valentin Lorentz on 01 July 2019, 13:51:20 UTC
It reuses the 'swh_visit_find_by_date' function that became dead code when occurences were dropped. So swh-web can use it directly instead of reimplementing its logic in 'get_origin_visit'.
1 parent 37396a5
tox.ini
[tox]
envlist=flake8,py3
[testenv:py3]
deps =
.[testing]
.[listener]
pytest-cov
pifpaf
commands =
pifpaf run postgresql -- pytest --hypothesis-profile=fast --cov=swh --cov-branch {posargs}
[testenv:py3-slow]
deps =
.[testing]
.[listener]
pytest-cov
pifpaf
commands =
pifpaf run postgresql -- pytest --hypothesis-profile=slow --cov=swh --cov-branch {posargs}
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8
Computing file changes ...