lbry-sdk/tox.ini

24 lines
869 B
INI
Raw Normal View History

2018-07-07 00:31:35 +02:00
[testenv]
deps =
coverage
extras =
test
torrent
2018-07-07 00:31:35 +02:00
changedir = {toxinidir}/tests
setenv =
HOME=/tmp
2021-03-30 21:51:08 +02:00
ELASTIC_HOST={env:ELASTIC_HOST:localhost}
ENABLE_LEGACY_SEARCH=0
2018-07-07 00:31:35 +02:00
commands =
orchstr8 download
blockchain: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs}
claims: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.claims {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}
2021-09-03 08:07:15 +02:00
[testenv:blockchain_legacy_search]
setenv =
ENABLE_LEGACY_SEARCH=1
commands =
coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.claims {posargs}