def METHOD_NAME(self, connect):
    chatbot = gr.ChatInterface(async_stream).queue()
    with connect(chatbot) as client:
        job = client.submit("hello")
        wait([job])
        assert job.outputs() == ["h", "he", "hel", "hell", "hello"]