def _make_client(self): """Create a new watchman client using the BSER protocol over a UNIX socket.""" self._logger.debug('setting initial watchman timeout to %s', self._startup_timeout) return StreamableWatchmanClient(sockpath=self.socket, transport='local', timeout=self._startup_timeout)
def setUp(self): super(TestWatchmanClient, self).setUp() self.swc = StreamableWatchmanClient(sockpath='/tmp/testing', transport='local')
def _make_client(self, timeout=SOCKET_TIMEOUT_SECONDS): """Create a new watchman client using the BSER protocol over a UNIX socket.""" return StreamableWatchmanClient(sockpath=self.socket, transport='local', timeout=timeout)
def setUp(self): super().setUp() self.swc = StreamableWatchmanClient(sockpath="/tmp/testing", transport="local")
def setUp(self): BaseTest.setUp(self) self.swc = StreamableWatchmanClient(sockpath='/tmp/testing', transport='local')