'Test that an iq request with a defined timeout times out.'

def testRequestTimingOut(self):

    self.iq.timeout = 60
    d = self.iq.send()
    self.assertFailure(d, xmlstream.TimeoutError)
    self.clock.pump([1, 60])
    self.assertFalse(self.clock.calls)
    self.assertFalse(self.xmlstream.iqDeferreds)
    return d
