def _get_server(self, handler_class=websockifyserver.WebSockifyRequestHandler,
                 **kwargs):
     web = kwargs.pop('web', self.tmpdir)
     return websockifyserver.WebSockifyServer(
         handler_class, listen_host='localhost',
         listen_port=80, key=self.tmpdir, web=web,
         record=self.tmpdir, daemon=False, ssl_only=0, idle_timeout=1,
         **kwargs)
 def _get_server(self,
                 handler_class=websockifyserver.WebSockifyRequestHandler,
                 **kwargs):
     return websockifyserver.WebSockifyServer(handler_class,
                                              listen_host='localhost',
                                              listen_port=80,
                                              key=self.tmpdir,
                                              web=self.tmpdir,
                                              record=self.tmpdir,
                                              **kwargs)