def connectUNIX(self, address, factory, timeout=30, checkPID=0):
        """
        Fake L{IReactorUNIX.connectUNIX}, that logs the call and returns an
        L{IConnector}.
        """
        self.unixClients.append((address, factory, timeout, checkPID))
        conn = _FakeConnector(UNIXAddress(address))
        factory.startedConnecting(conn)
        self.connectors.append(conn)
        return conn

        Fake L{IReactorUNIX.connectUNIX}, that logs the call and returns an
        L{IConnector}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/testing.py