MCPcopy Create free account
hub / github.com/ElementsProject/lightning / test_torv2_in_db

Function test_torv2_in_db

tests/test_misc.py:4217–4222  ·  view source on GitHub ↗
(node_factory)

Source from the content-addressed store, hash-verified

4215@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3',
4216 "This test requires sqlite3")
4217def test_torv2_in_db(node_factory):
4218 l1, l2 = node_factory.line_graph(2, wait_for_announce=True)
4219
4220 l1.stop()
4221 l1.db_manip("UPDATE peers SET address='3fyb44wdhnd2ghhl.onion:1234';")
4222 l1.start()
4223
4224
4225def test_field_filter(node_factory, chainparams):

Callers

nothing calls this directly

Calls 4

line_graphMethod · 0.80
db_manipMethod · 0.80
stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected