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

Method __init__

tests/fixtures.py:123–127  ·  view source on GitHub ↗
(self, tmpdir)

Source from the content-addressed store, hash-verified

121
122class TcpCapture:
123 def __init__(self, tmpdir):
124 self.tmpdir = Path(tmpdir)
125 self.pcap = self.tmpdir / "traffic.pcap"
126 self.proc = None
127 self.port = None
128
129 def start(self, port):
130 assert self.proc is None, "capture already started"

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected