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:
@@ -10,10 +10,11 @@ from electrum.util import bfh
|
||||
from electrum.lnutil import ShortChannelID, LnFeatures
|
||||
from electrum import constants
|
||||
|
||||
from . import TestCaseForTestnet
|
||||
from . import ElectrumTestCase
|
||||
|
||||
|
||||
class TestLNMsg(TestCaseForTestnet):
|
||||
class TestLNMsg(ElectrumTestCase):
|
||||
TESTNET = True
|
||||
|
||||
def test_write_bigsize_int(self):
|
||||
self.assertEqual(bfh("00"), write_bigsize_int(0))
|
||||
|
||||
Reference in New Issue
Block a user