From 6f76d9e24af5466feed36c309ce45797bd71f164 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sun, 24 Feb 2019 21:48:29 -0500 Subject: [PATCH] moved integration testcase.py into lbrynet so that it can be used from scripts --- {tests/integration => lbrynet}/testcase.py | 0 tests/integration/test_account_commands.py | 2 +- tests/integration/test_chris45.py | 2 +- tests/integration/test_claim_commands.py | 2 +- tests/integration/test_file_commands.py | 2 +- tests/integration/test_resolve_command.py | 3 +-- tests/integration/test_transaction_commands.py | 2 +- 7 files changed, 6 insertions(+), 7 deletions(-) rename {tests/integration => lbrynet}/testcase.py (100%) diff --git a/tests/integration/testcase.py b/lbrynet/testcase.py similarity index 100% rename from tests/integration/testcase.py rename to lbrynet/testcase.py diff --git a/tests/integration/test_account_commands.py b/tests/integration/test_account_commands.py index 139a481a1..1e0b8ed95 100644 --- a/tests/integration/test_account_commands.py +++ b/tests/integration/test_account_commands.py @@ -1,4 +1,4 @@ -from integration.testcase import CommandTestCase +from lbrynet.testcase import CommandTestCase class AccountManagement(CommandTestCase): diff --git a/tests/integration/test_chris45.py b/tests/integration/test_chris45.py index 048a04d28..27d5b398d 100644 --- a/tests/integration/test_chris45.py +++ b/tests/integration/test_chris45.py @@ -1,4 +1,4 @@ -from integration.testcase import CommandTestCase +from lbrynet.testcase import CommandTestCase class EpicAdventuresOfChris45(CommandTestCase): diff --git a/tests/integration/test_claim_commands.py b/tests/integration/test_claim_commands.py index 3bdf6a4a9..3765e1eed 100644 --- a/tests/integration/test_claim_commands.py +++ b/tests/integration/test_claim_commands.py @@ -8,7 +8,7 @@ from lbrynet.wallet.transaction import Transaction, Output from torba.client.errors import InsufficientFundsError from lbrynet.schema.compat import OldClaimMessage -from integration.testcase import CommandTestCase +from lbrynet.testcase import CommandTestCase from torba.client.hash import sha256, Base58 diff --git a/tests/integration/test_file_commands.py b/tests/integration/test_file_commands.py index c724b0467..c30ce7584 100644 --- a/tests/integration/test_file_commands.py +++ b/tests/integration/test_file_commands.py @@ -2,7 +2,7 @@ import asyncio import logging import os -from integration.testcase import CommandTestCase +from lbrynet.testcase import CommandTestCase from lbrynet.blob_exchange.downloader import BlobDownloader diff --git a/tests/integration/test_resolve_command.py b/tests/integration/test_resolve_command.py index d64b5b6d7..d4b4d243f 100644 --- a/tests/integration/test_resolve_command.py +++ b/tests/integration/test_resolve_command.py @@ -1,6 +1,5 @@ import json - -from integration.testcase import CommandTestCase +from lbrynet.testcase import CommandTestCase class ResolveCommand(CommandTestCase): diff --git a/tests/integration/test_transaction_commands.py b/tests/integration/test_transaction_commands.py index 6111a5686..ac1010931 100644 --- a/tests/integration/test_transaction_commands.py +++ b/tests/integration/test_transaction_commands.py @@ -1,4 +1,4 @@ -from integration.testcase import CommandTestCase +from lbrynet.testcase import CommandTestCase class TransactionCommandsTestCase(CommandTestCase):