(node_factory)
| 3781 | |
| 3782 | |
| 3783 | def 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 | |
| 3793 | def test_getlog(node_factory): |
nothing calls this directly
no test coverage detected