From 0939589557553d88432de32331463f899e9d2c06 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 5 Oct 2021 17:26:46 -0400 Subject: [PATCH] move test_claim_commands and test_resolve_command into new directory --- .github/workflows/main.yml | 1 + .gitignore | 2 +- tests/integration/claims/__init__.py | 0 .../integration/{blockchain => claims}/test_claim_commands.py | 0 .../integration/{blockchain => claims}/test_resolve_command.py | 0 tests/integration/other/test_transcoding.py | 2 +- tox.ini | 3 ++- 7 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 tests/integration/claims/__init__.py rename tests/integration/{blockchain => claims}/test_claim_commands.py (100%) rename tests/integration/{blockchain => claims}/test_resolve_command.py (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3b3fb5947..85b9d3b65 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -78,6 +78,7 @@ jobs: test: - datanetwork - blockchain + - claims - blockchain_legacy_search - other steps: diff --git a/.gitignore b/.gitignore index 22999a054..79951dafd 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,7 @@ __pycache__ _trial_temp/ trending*.log -/tests/integration/blockchain/files +/tests/integration/claims/files /tests/.coverage.* /lbry/wallet/bin diff --git a/tests/integration/claims/__init__.py b/tests/integration/claims/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/integration/blockchain/test_claim_commands.py b/tests/integration/claims/test_claim_commands.py similarity index 100% rename from tests/integration/blockchain/test_claim_commands.py rename to tests/integration/claims/test_claim_commands.py diff --git a/tests/integration/blockchain/test_resolve_command.py b/tests/integration/claims/test_resolve_command.py similarity index 100% rename from tests/integration/blockchain/test_resolve_command.py rename to tests/integration/claims/test_resolve_command.py diff --git a/tests/integration/other/test_transcoding.py b/tests/integration/other/test_transcoding.py index 673e39a0c..926c47263 100644 --- a/tests/integration/other/test_transcoding.py +++ b/tests/integration/other/test_transcoding.py @@ -2,7 +2,7 @@ import logging import pathlib import time -from ..blockchain.test_claim_commands import ClaimTestCase +from ..claims.test_claim_commands import ClaimTestCase from lbry.conf import TranscodeConfig from lbry.file_analysis import VideoFileAnalyzer diff --git a/tox.ini b/tox.ini index ede5973fa..02c6b65c2 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,7 @@ setenv = 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} @@ -19,4 +20,4 @@ commands = setenv = ENABLE_LEGACY_SEARCH=1 commands = - coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs} + coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.claims {posargs}