1
0

tests: rework testnet

Inheritance was overkill here, and now we can use inheritance for new functionality X
without having to create classes for all combinations of {X, is_testnet}.
This commit is contained in:
SomberNight
2023-02-18 06:44:30 +00:00
parent 72e1be6f5e
commit c5bdd5007c
12 changed files with 66 additions and 48 deletions

View File

@@ -3,10 +3,11 @@ from electrum.util import bfh
from electrum.transaction import PartialTxInput, TxOutpoint
from electrum.submarine_swaps import SwapManager, SwapData
from . import TestCaseForTestnet
from . import ElectrumTestCase
class TestSwapTxs(TestCaseForTestnet):
class TestSwapTxs(ElectrumTestCase):
TESTNET = True
def setUp(self):
super().setUp()