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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user