From 1ddd29656e59a801edb9cd66f069ba12e033aa15 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Wed, 6 Oct 2021 13:01:38 -0400 Subject: [PATCH] move test_transaction_commands, test_internal_transaction_api , and test_transactions into their own runner -move test_resolve_command to its own runner --- .github/workflows/main.yml | 5 ++++- tests/integration/takeovers/__init__.py | 0 .../{claims => takeovers}/test_resolve_command.py | 0 tests/integration/transactions/__init__.py | 0 .../test_internal_transaction_api.py | 0 .../test_transaction_commands.py | 0 .../{blockchain => transactions}/test_transactions.py | 0 tox.ini | 10 ++++++++-- 8 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 tests/integration/takeovers/__init__.py rename tests/integration/{claims => takeovers}/test_resolve_command.py (100%) create mode 100644 tests/integration/transactions/__init__.py rename tests/integration/{blockchain => transactions}/test_internal_transaction_api.py (100%) rename tests/integration/{blockchain => transactions}/test_transaction_commands.py (100%) rename tests/integration/{blockchain => transactions}/test_transactions.py (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85b9d3b65..df55605de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -79,7 +79,10 @@ jobs: - datanetwork - blockchain - claims - - blockchain_legacy_search + - takeovers + - transactions + - claims_legacy_search + - takeovers_legacy_search - other steps: - name: Configure sysctl limits diff --git a/tests/integration/takeovers/__init__.py b/tests/integration/takeovers/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/integration/claims/test_resolve_command.py b/tests/integration/takeovers/test_resolve_command.py similarity index 100% rename from tests/integration/claims/test_resolve_command.py rename to tests/integration/takeovers/test_resolve_command.py diff --git a/tests/integration/transactions/__init__.py b/tests/integration/transactions/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/integration/blockchain/test_internal_transaction_api.py b/tests/integration/transactions/test_internal_transaction_api.py similarity index 100% rename from tests/integration/blockchain/test_internal_transaction_api.py rename to tests/integration/transactions/test_internal_transaction_api.py diff --git a/tests/integration/blockchain/test_transaction_commands.py b/tests/integration/transactions/test_transaction_commands.py similarity index 100% rename from tests/integration/blockchain/test_transaction_commands.py rename to tests/integration/transactions/test_transaction_commands.py diff --git a/tests/integration/blockchain/test_transactions.py b/tests/integration/transactions/test_transactions.py similarity index 100% rename from tests/integration/blockchain/test_transactions.py rename to tests/integration/transactions/test_transactions.py diff --git a/tox.ini b/tox.ini index 02c6b65c2..8ad5e37a9 100644 --- a/tox.ini +++ b/tox.ini @@ -13,11 +13,17 @@ 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} + 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} 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} - -[testenv:blockchain_legacy_search] +[testenv:claims_legacy_search] setenv = ENABLE_LEGACY_SEARCH=1 commands = coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.claims {posargs} +[testenv:takeovers_legacy_search] +setenv = + ENABLE_LEGACY_SEARCH=1 +commands = + coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.takeovers {posargs}