tests/lnbase: stub on_channels_updated

This commit is contained in:
Janus 2018-11-12 18:15:48 +01:00
parent 6e69c9ed1a
commit c64c9b5d0b

View file

@ -99,6 +99,9 @@ class MockLNWorker:
def save_channel(self, chan): def save_channel(self, chan):
print("Ignoring channel save") print("Ignoring channel save")
def on_channels_updated(self):
pass
get_invoice = LNWorker.get_invoice get_invoice = LNWorker.get_invoice
_create_route_from_invoice = LNWorker._create_route_from_invoice _create_route_from_invoice = LNWorker._create_route_from_invoice
_check_invoice = staticmethod(LNWorker._check_invoice) _check_invoice = staticmethod(LNWorker._check_invoice)