2018-07-07 00:31:35 +02:00
|
|
|
[testenv]
|
2022-05-12 00:44:38 +02:00
|
|
|
usedevelop = true
|
2018-07-07 00:31:35 +02:00
|
|
|
deps =
|
|
|
|
coverage
|
2021-06-15 15:59:28 +02:00
|
|
|
extras =
|
|
|
|
test
|
2021-11-08 20:18:22 +01:00
|
|
|
scribe
|
2021-06-15 15:59:28 +02:00
|
|
|
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}
|
2021-10-06 19:01:38 +02:00
|
|
|
takeovers: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.takeovers {posargs}
|
|
|
|
transactions: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.transactions {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-10-06 19:01:38 +02:00
|
|
|
[testenv:claims_legacy_search]
|
2021-09-03 08:07:15 +02:00
|
|
|
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}
|
2021-10-06 19:01:38 +02:00
|
|
|
[testenv:takeovers_legacy_search]
|
|
|
|
setenv =
|
|
|
|
ENABLE_LEGACY_SEARCH=1
|
|
|
|
commands =
|
|
|
|
coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.takeovers {posargs}
|