fix tests

This commit is contained in:
SomberNight 2018-07-27 21:14:10 +02:00
parent a16388dbc8
commit fdc71e47f9
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -43,6 +43,7 @@ class Test_LNRouter(TestCaseForTestnet):
class fake_network:
config = self.config
add_jobs = lambda *args: None
trigger_callback = lambda *args: None
fake_network.channel_db = lnrouter.ChannelDB(fake_network())
cdb = fake_network.channel_db
path_finder = lnrouter.LNPathFinder(cdb)