'Check that receiving data is delaying the timeout of the connection.'

def test_noTimeout(self):

    self.proto.makeConnection(StringTransport())
    self.clock.pump([0, 0.5, 1.0, 1.0])
    self.assertFalse(self.proto.timedOut)
    self.proto.dataReceived('hello    there')
    self.clock.pump([0, 1.0, 1.0, 0.5])
    self.assertFalse(self.proto.timedOut)
    self.clock.pump([0, 1.0])
    self.assertTrue(self.proto.timedOut)
