2018-07-07 00:31:35 +02:00
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
coverage
|
2021-06-15 15:59:28 +02:00
|
|
|
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}
|
2021-09-07 22:08:01 +02:00
|
|
|
ENABLE_LEGACY_SEARCH=0
|
2018-07-07 00:31:35 +02:00
|
|
|
commands =
|
2018-07-18 06:02:49 +02:00
|
|
|
orchstr8 download
|
2020-01-01 02:08:19 +01:00
|
|
|
blockchain: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs}
|
2021-10-05 23:26:46 +02:00
|
|
|
claims: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.claims {posargs}
|
2020-01-01 02:08:19 +01:00
|
|
|
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 =
|
2021-10-05 23:26:46 +02:00
|
|
|
coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.claims {posargs}
|