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

Function test_notimestamp_logging

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

Source from the content-addressed store, hash-verified

3781
3782
3783def test_notimestamp_logging(node_factory):
3784 l1 = node_factory.get_node(start=False)
3785 # Make sure this is specified *before* other options!
3786 l1.daemon.early_opts.insert(0, '--log-timestamps=false')
3787 l1.start()
3788 assert l1.daemon.logs[0].startswith("lightningd-1 INFO")
3789
3790 assert l1.rpc.listconfigs()['configs']['log-timestamps']['value_bool'] is False
3791
3792
3793def test_getlog(node_factory):

Callers

nothing calls this directly

Calls 4

listconfigsMethod · 0.80
get_nodeMethod · 0.45
insertMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected