Skip to content

Commit 73fee69

Browse files
committed
tests: move /electrum/tests to /tests
1 parent e11d7b3 commit 73fee69

File tree

103 files changed

+5
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+5
-5
lines changed
File renamed without changes.
File renamed without changes.

electrum/tests/regtest.py tests/regtest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class TestLightning(unittest.TestCase):
77

88
@staticmethod
99
def run_shell(args, timeout=30):
10-
process = subprocess.Popen(['electrum/tests/regtest/regtest.sh'] + args, stderr=subprocess.STDOUT, stdout=subprocess.PIPE, universal_newlines=True)
10+
process = subprocess.Popen(['tests/regtest/regtest.sh'] + args, stderr=subprocess.STDOUT, stdout=subprocess.PIPE, universal_newlines=True)
1111
for line in iter(process.stdout.readline, ''):
1212
sys.stdout.write(line)
1313
sys.stdout.flush()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

electrum/tests/test_payment_identifier.py tests/test_payment_identifier.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
PaymentIdentifierType)
44

55
from . import ElectrumTestCase
6-
from ..transaction import PartialTxOutput
6+
from electrum.transaction import PartialTxOutput
77

88

99
class WalletMock:
File renamed without changes.

electrum/tests/test_qml_types.py tests/test_qml_types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from electrum import SimpleConfig
55
from electrum.gui.qml.qetypes import QEAmount
66
from electrum.invoices import Invoice, LN_EXPIRY_NEVER
7-
from electrum.tests.qt_util import QETestCase, QEventReceiver, qt_test
7+
from tests.qt_util import QETestCase, QEventReceiver, qt_test
88
from electrum.transaction import PartialTxOutput
99

1010

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ passenv=
99
PYTHONDEVMODE
1010
commands=
1111
coverage run --source=electrum \
12-
'--omit=electrum/gui/*,electrum/plugins/*,electrum/scripts/*,electrum/tests/*' \
13-
-m pytest electrum/tests -v
12+
'--omit=electrum/gui/*,electrum/plugins/*,electrum/scripts/*' \
13+
-m pytest tests -v
1414
coverage report
1515
extras=
1616
tests

0 commit comments

Comments
 (0)