'Adding a reader causes its C{doRead} to be called every 1
milliseconds.'

def test_readerPolling(self):

    reactor = Clock()
    poller = _ContinuousPolling(reactor)
    desc = Descriptor()
    poller.addReader(desc)
    self.assertEqual(desc.events, [])
    reactor.advance(1e-05)
    self.assertEqual(desc.events, ['read'])
    reactor.advance(1e-05)
    self.assertEqual(desc.events, ['read', 'read'])
    reactor.advance(1e-05)
    self.assertEqual(desc.events, ['read', 'read', 'read'])
