Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/a/e/aenea-HEAD/test_server_x11.py   aenea(Download)
    get_context.return_value = return_value
    get_context.__name__ = "get_context"
    self.server = server_x11.setup_server(HOST, self.port)
    test_thread = threading.Thread(target=self.get_context, args=[return_value])
    test_thread.start()
  def run_request_thread(self, client):
    self.server = server_x11.setup_server(HOST, self.port)
    test_thread = threading.Thread(target=client)
    test_thread.start()
    self.server.serve_forever()
    flush.side_effect = mock_flush
    self.port = PORT + 7
    self.server = server_x11.setup_server(HOST, self.port)
 
    test_thread = threading.Thread(target=self.multiple_actions)