def testSuccess(self):

        def onSession(iq):
            response = xmlstream.toResponse(iq, 'result')
            self.pipe.source.send(response)

        d1 = self.waitFor(IQ_SESSION_SET, onSession)
        d2 = self.init.start()
        return defer.gatherResults([d1, d2])
Wrapper around Requests for GET XML requests
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/test/test_jabberclient.py/SessionInitializerTest.testSuccess--crossover with--dataset/ETHPy150Open pycontribs/python-crowd/crowd.py/CrowdServer._get_xml