MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / __init__

Method __init__

tests/utils/virtual_serial.py:103–109  ·  view source on GitHub ↗
(
        self,
        name_a: str = "PortAlpha",
        name_b: str = "PortBravo",
    )

Source from the content-addressed store, hash-verified

101 """Manages two VirtualSerialPort instances for dual-source testing."""
102
103 def __init__(
104 self,
105 name_a: str = "PortAlpha",
106 name_b: str = "PortBravo",
107 ):
108 self.alpha = VirtualSerialPort(name_a)
109 self.bravo = VirtualSerialPort(name_b)
110
111 @property
112 def device_path_a(self) -> str:

Callers

nothing calls this directly

Calls 1

VirtualSerialPortClass · 0.85

Tested by

no test coverage detected