'Test that global request success packets cause the Deferred to be
called back.'

def test_REQUEST_SUCCESS(self):

    d = self.conn.sendGlobalRequest('request', 'data', True)
    self.conn.ssh_REQUEST_SUCCESS('data')
    def check(data):
        self.assertEqual(data, 'data')
    d.addCallback(check)
    d.addErrback(self.fail)
    return d
