lbry-sdk/tox.ini
2021-09-10 18:57:20 -03:00

16 lines
593 B
INI

[testenv]
deps =
coverage
extras =
test
torrent
changedir = {toxinidir}/tests
setenv =
HOME=/tmp
ELASTIC_HOST={env:ELASTIC_HOST:localhost}
ENABLE_LEGACY_SEARCH={env:ENABLE_LEGACY_SEARCH:0}
commands =
orchstr8 download
blockchain: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs}
datanetwork: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.datanetwork {posargs}
other: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.other {posargs}