tests: move /electrum/tests to /tests
This commit is contained in:
@@ -7,7 +7,7 @@ class TestLightning(unittest.TestCase):
|
||||
|
||||
@staticmethod
|
||||
def run_shell(args, timeout=30):
|
||||
process = subprocess.Popen(['electrum/tests/regtest/regtest.sh'] + args, stderr=subprocess.STDOUT, stdout=subprocess.PIPE, universal_newlines=True)
|
||||
process = subprocess.Popen(['tests/regtest/regtest.sh'] + args, stderr=subprocess.STDOUT, stdout=subprocess.PIPE, universal_newlines=True)
|
||||
for line in iter(process.stdout.readline, ''):
|
||||
sys.stdout.write(line)
|
||||
sys.stdout.flush()
|
||||
@@ -3,7 +3,7 @@ from electrum.payment_identifier import (maybe_extract_lightning_payment_identif
|
||||
PaymentIdentifierType)
|
||||
|
||||
from . import ElectrumTestCase
|
||||
from ..transaction import PartialTxOutput
|
||||
from electrum.transaction import PartialTxOutput
|
||||
|
||||
|
||||
class WalletMock:
|
||||
@@ -4,7 +4,7 @@ import tempfile
|
||||
from electrum import SimpleConfig
|
||||
from electrum.gui.qml.qetypes import QEAmount
|
||||
from electrum.invoices import Invoice, LN_EXPIRY_NEVER
|
||||
from electrum.tests.qt_util import QETestCase, QEventReceiver, qt_test
|
||||
from tests.qt_util import QETestCase, QEventReceiver, qt_test
|
||||
from electrum.transaction import PartialTxOutput
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user