Пример #1
0
 def test_noPendingTimerEvents(self):
     """
     Test reactor behavior (doIteration) when there are no pending time
     events.
     """
     ir = IOCPReactor()
     ir.wakeUp()
     self.failIf(ir.doIteration(None))
Пример #2
0
 def test_noPendingTimerEvents(self):
     """
     Test reactor behavior (doIteration) when there are no pending time
     events.
     """
     ir = IOCPReactor()
     ir.wakeUp()
     self.failIf(ir.doIteration(None))
Пример #3
0
 def test_noPendingTimerEvents(self):
     """
     Test reactor behavior (doIteration) when there are no pending time
     events.
     """
     from twisted.internet.iocpreactor.reactor import IOCPReactor
     ir = IOCPReactor()
     ir.wakeUp()
     self.failIf(ir.doIteration(None))
Пример #4
0
 def test_noPendingTimerEvents(self):
     """
     Test reactor behavior (doIteration) when there are no pending time
     events.
     """
     from twisted.internet.iocpreactor.reactor import IOCPReactor
     ir = IOCPReactor()
     ir.wakeUp()
     self.failIf(ir.doIteration(None))