def setUp(self): super(BaseAsyncTest, self).setUp() Channels.reset() application = make_application() server = httpserver.HTTPServer(application) socket, self.port = testing.bind_unused_port() server.add_socket(socket)
def get_app(self): return make_application()
def get_app(self): Channels.reset() return make_application()